home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1993 / Internet Info CD-ROM (Walnut Creek) (1993).iso / networking / ip / manage / snmp / mit / patches.910517 < prev    next >
Encoding:
Text File  |  1991-05-17  |  76.7 KB  |  2,724 lines

  1. diff -c -r old/Makefile new/Makefile
  2. *** old/Makefile    Sun Jan 15 20:07:57 1989
  3. --- new/Makefile    Fri May 17 16:19:31 1991
  4. ***************
  5. *** 1,11 ****
  6.   
  7.   #
  8. ! #    $Header: Makefile,v 1.1 89/01/15 20:07:57 jrd Exp $
  9.   #    Author: J. Davin
  10.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  11.   #    See permission and disclaimer notice in file "notice.h"
  12.   #
  13.   
  14.   LIBS        =    snmp        \
  15.               bsd
  16.   
  17. --- 1,16 ----
  18.   
  19.   #
  20. ! #    $Header: Makefile,v 3.0 91/05/17 16:19:20 jrd Exp $
  21.   #    Author: J. Davin
  22.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  23.   #    See permission and disclaimer notice in file "notice.h"
  24.   #
  25.   
  26. + #
  27. + #    Define RCS revison number for this release
  28. + #
  29. + VERSION        =    3.0
  30.   LIBS        =    snmp        \
  31.               bsd
  32.   
  33. ***************
  34. *** 19,29 ****
  35.               avltest        \
  36.               smptest        \
  37.               snmpd        \
  38.               doc
  39.   
  40.   CFLAGS        =    -O
  41.   CDEFS        =    -DINLINE
  42. ! RCSCMD        =
  43.   CCARGS        =    'CFLAGS=$(CFLAGS)' 'CDEFS=$(CDEFS)'
  44.   
  45.   all:
  46. --- 24,35 ----
  47.               avltest        \
  48.               smptest        \
  49.               snmpd        \
  50. +             scripts        \
  51.               doc
  52.   
  53.   CFLAGS        =    -O
  54.   CDEFS        =    -DINLINE
  55. ! RCSCMD        =    rlog -L
  56.   CCARGS        =    'CFLAGS=$(CFLAGS)' 'CDEFS=$(CDEFS)'
  57.   
  58.   all:
  59. ***************
  60. *** 31,36 ****
  61. --- 37,68 ----
  62.           do    \
  63.               ( echo $$i ; cd $$i ;    \
  64.               make $(MFLAGS) $(CCARGS) all );    \
  65. +         done
  66. + tree:
  67. +         @for i in $(TARGETS);    \
  68. +         do    \
  69. +             ( echo $$i ; mkdir $$i ;    \
  70. +             cd $$i ; ln -s ../RCSTREE/$$i RCS ; \
  71. +             co Makefile );    \
  72. +         done
  73. + release:
  74. +         @for i in $(TARGETS);    \
  75. +         do    \
  76. +             ( echo $$i ; cd $$i ;    \
  77. +             make $(MFLAGS) 'RCSCMD=co -l' rcs ; )    \
  78. +         done
  79. +         @for i in $(TARGETS);    \
  80. +         do    \
  81. +             ( echo $$i ; cd $$i ;    \
  82. +             make $(MFLAGS) depend ;    \
  83. +             rm -f Makefile.bak )    \
  84. +         done
  85. +         @for i in $(TARGETS);    \
  86. +         do    \
  87. +             ( echo $$i ; cd $$i ;    \
  88. +             make $(MFLAGS) 'RCSCMD=ci -u -f$(VERSION) "-mReleased Version" -sRel' rcs ; )    \
  89.           done
  90.   
  91.   clean:
  92. Common subdirectories: old/asntest and new/asntest
  93. Common subdirectories: old/avltest and new/avltest
  94. Common subdirectories: old/bsd and new/bsd
  95. Common subdirectories: old/doc and new/doc
  96. Common subdirectories: old/scripts and new/scripts
  97. Common subdirectories: old/smptest and new/smptest
  98. Common subdirectories: old/snmp and new/snmp
  99. Common subdirectories: old/snmpd and new/snmpd
  100. Common subdirectories: old/snmpget and new/snmpget
  101. Common subdirectories: old/snmpnext and new/snmpnext
  102. Common subdirectories: old/snmpset and new/snmpset
  103. Common subdirectories: old/snmptrap and new/snmptrap
  104. Common subdirectories: old/snmptrapd and new/snmptrapd
  105. diff -c -r old/asntest/Makefile new/asntest/Makefile
  106. *** old/asntest/Makefile    Sun Jan 15 20:37:38 1989
  107. --- new/asntest/Makefile    Fri May 17 16:15:12 1991
  108. ***************
  109. *** 1,6 ****
  110.   
  111.   #
  112. ! #    $Header: Makefile,v 1.1 89/01/15 20:37:37 jrd Exp $
  113.   #    Author: J. Davin
  114.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  115.   #    See permission and disclaimer notice in file "notice.h"
  116. --- 1,6 ----
  117.   
  118.   #
  119. ! #    $Header: Makefile,v 3.0 91/05/17 16:15:12 jrd Rel $
  120.   #    Author: J. Davin
  121.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  122.   #    See permission and disclaimer notice in file "notice.h"
  123. diff -c -r old/asntest/asntest.c new/asntest/asntest.c
  124. *** old/asntest/asntest.c    Wed Jan 11 22:11:49 1989
  125. --- new/asntest/asntest.c    Fri May 17 16:15:14 1991
  126. ***************
  127. *** 1,7 ****
  128.   
  129.   
  130.   /*
  131. !  *    $Header: asntest.c,v 1.1 89/01/11 22:11:49 jrd Exp $
  132.    *    Author: J. Davin
  133.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  134.    *    See permission and disclaimer notice in file "notice.h"
  135. --- 1,7 ----
  136.   
  137.   
  138.   /*
  139. !  *    $Header: asntest.c,v 3.0 91/05/17 16:15:13 jrd Rel $
  140.    *    Author: J. Davin
  141.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  142.    *    See permission and disclaimer notice in file "notice.h"
  143. diff -c -r old/avltest/Makefile new/avltest/Makefile
  144. *** old/avltest/Makefile    Sat Jan 14 16:53:56 1989
  145. --- new/avltest/Makefile    Fri May 17 16:15:16 1991
  146. ***************
  147. *** 1,6 ****
  148.   
  149.   #
  150. ! #    $Header: Makefile,v 1.1 89/01/11 22:11:53 jrd Exp $
  151.   #    Author: J. Davin
  152.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  153.   #    See permission and disclaimer notice in file "notice.h"
  154. --- 1,6 ----
  155.   
  156.   #
  157. ! #    $Header: Makefile,v 3.0 91/05/17 16:15:15 jrd Rel $
  158.   #    Author: J. Davin
  159.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  160.   #    See permission and disclaimer notice in file "notice.h"
  161. diff -c -r old/avltest/avltest.c new/avltest/avltest.c
  162. *** old/avltest/avltest.c    Wed Jan 11 22:11:56 1989
  163. --- new/avltest/avltest.c    Fri May 17 16:15:17 1991
  164. ***************
  165. *** 1,6 ****
  166.   
  167.   /*
  168. !  *    $Header: avltest.c,v 1.1 89/01/11 22:11:55 jrd Exp $
  169.    *    Author: J. Davin
  170.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  171.    *    See permission and disclaimer notice in file "notice.h"
  172. --- 1,6 ----
  173.   
  174.   /*
  175. !  *    $Header: avltest.c,v 3.0 91/05/17 16:15:16 jrd Rel $
  176.    *    Author: J. Davin
  177.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  178.    *    See permission and disclaimer notice in file "notice.h"
  179. diff -c -r old/bsd/Makefile new/bsd/Makefile
  180. *** old/bsd/Makefile    Sun Jan 15 20:36:30 1989
  181. --- new/bsd/Makefile    Fri May 17 16:14:05 1991
  182. ***************
  183. *** 1,6 ****
  184.   
  185.   #
  186. ! #    $Header: Makefile,v 1.1 89/01/15 20:36:28 jrd Exp $
  187.   #    Author: J. Davin
  188.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  189.   #    See permission and disclaimer notice in file "notice.h"
  190. --- 1,6 ----
  191.   
  192.   #
  193. ! #    $Header: Makefile,v 3.0 91/05/17 16:14:03 jrd Rel $
  194.   #    Author: J. Davin
  195.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  196.   #    See permission and disclaimer notice in file "notice.h"
  197. ***************
  198. *** 24,31 ****
  199.   #            values is omitted.
  200.   #
  201.   
  202. ! CFLAGS        =    -O
  203. ! CDEFS        =    -DINLINE
  204.   RCSCMD        =    rlog -L -h
  205.   
  206.   LLIBSNMP    =    ../snmp/llib-lsnmp.ln
  207. --- 24,31 ----
  208.   #            values is omitted.
  209.   #
  210.   
  211. ! CFLAGS        =    -g
  212. ! CDEFS        =
  213.   RCSCMD        =    rlog -L -h
  214.   
  215.   LLIBSNMP    =    ../snmp/llib-lsnmp.ln
  216. ***************
  217. *** 34,60 ****
  218.   
  219.   OBJECTS =    host.o \
  220.           udp.o \
  221.           systm.o \
  222.           rte.o \
  223.           icmp.o \
  224.           kmem.o \
  225. !         tcp.o
  226.   
  227.   SOURCES =    host.c \
  228.           udp.c \
  229.           systm.c \
  230.           rte.c \
  231.           icmp.c \
  232.           kmem.c \
  233. !         tcp.c
  234.   
  235.   HEADERS =    host.h \
  236.           udp.h \
  237.           systm.h \
  238.           rte.h \
  239.           icmp.h \
  240.           kmem.h \
  241. !         tcp.h
  242.   
  243.   .c.o:
  244.           cc $(CFLAGS) $(CDEFS) $(INCDIRS) -c $<
  245. --- 34,66 ----
  246.   
  247.   OBJECTS =    host.o \
  248.           udp.o \
  249. +         udps.o \
  250.           systm.o \
  251.           rte.o \
  252.           icmp.o \
  253.           kmem.o \
  254. !         tcp.o    \
  255. !         if.o
  256.   
  257.   SOURCES =    host.c \
  258.           udp.c \
  259. +         udps.c \
  260.           systm.c \
  261.           rte.c \
  262.           icmp.c \
  263.           kmem.c \
  264. !         tcp.c    \
  265. !         if.c
  266.   
  267.   HEADERS =    host.h \
  268.           udp.h \
  269. +         udps.h \
  270.           systm.h \
  271.           rte.h \
  272.           icmp.h \
  273.           kmem.h \
  274. !         tcp.h    \
  275. !         if.h
  276.   
  277.   .c.o:
  278.           cc $(CFLAGS) $(CDEFS) $(INCDIRS) -c $<
  279. ***************
  280. *** 94,123 ****
  281.   udp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/sys/socket.h
  282.   udp.o: /usr/include/netinet/in.h ../snmp/ctypes.h ../snmp/debug.h
  283.   udp.o: ../snmp/local.h udp.h ../snmp/smp.h ../snmp/error.h ../snmp/aps.h
  284. ! udp.o: ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h ../snmp/asldefs.h
  285.   systm.o: ../snmp/notice.h /usr/include/sys/param.h
  286.   systm.o: /usr/include/machine/machparam.h /usr/include/sys/signal.h
  287.   systm.o: /usr/include/sys/types.h /usr/include/sys/time.h
  288.   systm.o: /usr/include/sys/time.h /usr/include/nlist.h /usr/include/stdio.h
  289.   systm.o: ../snmp/ctypes.h ../snmp/local.h ../snmp/debug.h ../snmp/miv.h
  290. ! systm.o: ../snmp/mix.h ../snmp/error.h ../snmp/asn.h ../snmp/asndefs.h
  291. ! systm.o: ../snmp/asl.h ../snmp/asldefs.h ../snmp/smp.h ../snmp/aps.h
  292. ! systm.o: ../snmp/mis.h systm.h kmem.h
  293.   rte.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/nlist.h
  294.   rte.o: /usr/include/sys/mbuf.h /usr/include/sys/socket.h
  295.   rte.o: /usr/include/netinet/in.h /usr/include/net/route.h ../snmp/ctypes.h
  296.   rte.o: ../snmp/error.h ../snmp/debug.h ../snmp/local.h ../snmp/mix.h
  297. ! rte.o: ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h ../snmp/asldefs.h
  298. ! rte.o: ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h ../snmp/avl.h kmem.h rte.h
  299.   icmp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/netinet/in.h
  300.   icmp.o: /usr/include/netinet/in_systm.h /usr/include/netinet/ip.h
  301.   icmp.o: /usr/include/netinet/ip_icmp.h /usr/include/netinet/icmp_var.h
  302.   icmp.o: /usr/include/nlist.h ../snmp/ctypes.h ../snmp/error.h ../snmp/local.h
  303. ! icmp.o: icmp.h ../snmp/mix.h ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h
  304. ! icmp.o: ../snmp/asldefs.h ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h kmem.h
  305.   kmem.o: ../snmp/notice.h ../snmp/ctypes.h ../snmp/debug.h
  306.   kmem.o: /usr/include/stdio.h /usr/include/sys/types.h /usr/include/sys/file.h
  307.   tcp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/sys/socket.h
  308.   tcp.o: /usr/include/netinet/in.h ../snmp/ctypes.h ../snmp/debug.h tcp.h
  309.   tcp.o: ../snmp/smp.h ../snmp/error.h ../snmp/aps.h ../snmp/asn.h
  310. ! tcp.o: ../snmp/asndefs.h ../snmp/asl.h ../snmp/asldefs.h
  311. --- 100,141 ----
  312.   udp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/sys/socket.h
  313.   udp.o: /usr/include/netinet/in.h ../snmp/ctypes.h ../snmp/debug.h
  314.   udp.o: ../snmp/local.h udp.h ../snmp/smp.h ../snmp/error.h ../snmp/aps.h
  315. ! udp.o: ../snmp/asn.h
  316. ! udps.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/nlist.h
  317. ! udps.o: /usr/include/sys/mbuf.h /usr/include/sys/socket.h
  318. ! udps.o: /usr/include/netinet/in.h /usr/include/net/route.h
  319. ! udps.o: /usr/include/netinet/in_pcb.h /usr/include/netinet/ip_var.h
  320. ! udps.o: /usr/include/netinet/udp.h /usr/include/netinet/udp_var.h
  321. ! udps.o: ../snmp/ctypes.h ../snmp/error.h ../snmp/debug.h ../snmp/local.h
  322. ! udps.o: ../snmp/mix.h ../snmp/asn.h ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h
  323. ! udps.o: ../snmp/miv.h ../snmp/avl.h kmem.h udps.h
  324.   systm.o: ../snmp/notice.h /usr/include/sys/param.h
  325.   systm.o: /usr/include/machine/machparam.h /usr/include/sys/signal.h
  326.   systm.o: /usr/include/sys/types.h /usr/include/sys/time.h
  327.   systm.o: /usr/include/sys/time.h /usr/include/nlist.h /usr/include/stdio.h
  328.   systm.o: ../snmp/ctypes.h ../snmp/local.h ../snmp/debug.h ../snmp/miv.h
  329. ! systm.o: ../snmp/mix.h ../snmp/error.h ../snmp/asn.h ../snmp/smp.h
  330. ! systm.o: ../snmp/aps.h ../snmp/mis.h systm.h kmem.h
  331.   rte.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/nlist.h
  332.   rte.o: /usr/include/sys/mbuf.h /usr/include/sys/socket.h
  333.   rte.o: /usr/include/netinet/in.h /usr/include/net/route.h ../snmp/ctypes.h
  334.   rte.o: ../snmp/error.h ../snmp/debug.h ../snmp/local.h ../snmp/mix.h
  335. ! rte.o: ../snmp/asn.h ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h ../snmp/avl.h
  336. ! rte.o: kmem.h rte.h
  337.   icmp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/netinet/in.h
  338.   icmp.o: /usr/include/netinet/in_systm.h /usr/include/netinet/ip.h
  339.   icmp.o: /usr/include/netinet/ip_icmp.h /usr/include/netinet/icmp_var.h
  340.   icmp.o: /usr/include/nlist.h ../snmp/ctypes.h ../snmp/error.h ../snmp/local.h
  341. ! icmp.o: icmp.h ../snmp/mix.h ../snmp/asn.h ../snmp/smp.h ../snmp/aps.h
  342. ! icmp.o: ../snmp/mis.h kmem.h
  343.   kmem.o: ../snmp/notice.h ../snmp/ctypes.h ../snmp/debug.h
  344.   kmem.o: /usr/include/stdio.h /usr/include/sys/types.h /usr/include/sys/file.h
  345.   tcp.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/sys/socket.h
  346.   tcp.o: /usr/include/netinet/in.h ../snmp/ctypes.h ../snmp/debug.h tcp.h
  347.   tcp.o: ../snmp/smp.h ../snmp/error.h ../snmp/aps.h ../snmp/asn.h
  348. ! if.o: ../snmp/notice.h /usr/include/sys/types.h /usr/include/nlist.h
  349. ! if.o: /usr/include/sys/mbuf.h /usr/include/sys/socket.h
  350. ! if.o: /usr/include/netinet/in.h /usr/include/net/if.h
  351. ! if.o: /usr/include/net/if_arp.h /usr/include/stdio.h ../snmp/ctypes.h
  352. ! if.o: ../snmp/error.h ../snmp/debug.h ../snmp/local.h ../snmp/mix.h
  353. ! if.o: ../snmp/asn.h ../snmp/smp.h ../snmp/aps.h ../snmp/mis.h kmem.h if.h
  354. diff -c -r old/bsd/host.c new/bsd/host.c
  355. *** old/bsd/host.c    Tue Aug  1 12:22:11 1989
  356. --- new/bsd/host.c    Fri May 17 16:14:07 1991
  357. ***************
  358. *** 1,6 ****
  359.   
  360.   /*
  361. !  *    $Header: host.c,v 1.3 89/07/11 13:00:23 jrd Exp $
  362.    *    Author: J. Davin
  363.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  364.    *    See permission and disclaimer notice in file "notice.h"
  365. --- 1,6 ----
  366.   
  367.   /*
  368. !  *    $Header: host.c,v 3.0 91/05/17 16:14:06 jrd Rel $
  369.    *    Author: J. Davin
  370.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  371.    *    See permission and disclaimer notice in file "notice.h"
  372. diff -c -r old/bsd/host.h new/bsd/host.h
  373. *** old/bsd/host.h    Wed Jan 11 22:10:46 1989
  374. --- new/bsd/host.h    Fri May 17 16:14:29 1991
  375. ***************
  376. *** 2,8 ****
  377.   #define        _HOST_H_
  378.   
  379.   /*
  380. !  *    $Header: host.h,v 1.1 89/01/11 22:10:46 jrd Exp $
  381.    *    Author: J. Davin
  382.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  383.    *    See permission and disclaimer notice in file "notice.h"
  384. --- 2,8 ----
  385.   #define        _HOST_H_
  386.   
  387.   /*
  388. !  *    $Header: host.h,v 3.0 91/05/17 16:14:27 jrd Rel $
  389.    *    Author: J. Davin
  390.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  391.    *    See permission and disclaimer notice in file "notice.h"
  392. diff -c -r old/bsd/icmp.c new/bsd/icmp.c
  393. *** old/bsd/icmp.c    Wed Jan 11 22:10:39 1989
  394. --- new/bsd/icmp.c    Fri May 17 16:14:20 1991
  395. ***************
  396. *** 1,6 ****
  397.   
  398.   /*
  399. !  *    $Header: icmp.c,v 1.1 89/01/11 22:10:38 jrd Exp $
  400.    *    Author: J. Davin
  401.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  402.    *    See permission and disclaimer notice in file "notice.h"
  403. --- 1,6 ----
  404.   
  405.   /*
  406. !  *    $Header: icmp.c,v 3.0 91/05/17 16:14:18 jrd Rel $
  407.    *    Author: J. Davin
  408.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  409.    *    See permission and disclaimer notice in file "notice.h"
  410. diff -c -r old/bsd/icmp.h new/bsd/icmp.h
  411. *** old/bsd/icmp.h    Wed Jan 11 22:10:57 1989
  412. --- new/bsd/icmp.h    Fri May 17 16:14:37 1991
  413. ***************
  414. *** 2,8 ****
  415.   #define        _ICMP_H_
  416.   
  417.   /*
  418. !  *    $Header: icmp.h,v 1.1 89/01/11 22:10:53 jrd Exp $
  419.    *    Author: J. Davin
  420.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  421.    *    See permission and disclaimer notice in file "notice.h"
  422. --- 2,8 ----
  423.   #define        _ICMP_H_
  424.   
  425.   /*
  426. !  *    $Header: icmp.h,v 3.0 91/05/17 16:14:37 jrd Rel $
  427.    *    Author: J. Davin
  428.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  429.    *    See permission and disclaimer notice in file "notice.h"
  430. Only in new/bsd: if.c
  431. Only in new/bsd: if.h
  432. diff -c -r old/bsd/kmem.c new/bsd/kmem.c
  433. *** old/bsd/kmem.c    Wed Jan 11 22:10:42 1989
  434. --- new/bsd/kmem.c    Fri May 17 16:14:22 1991
  435. ***************
  436. *** 1,6 ****
  437.   
  438.   /*
  439. !  *    $Header: kmem.c,v 1.1 89/01/11 22:10:41 jrd Exp $
  440.    *    Author: J. Davin
  441.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  442.    *    See permission and disclaimer notice in file "notice.h"
  443. --- 1,6 ----
  444.   
  445.   /*
  446. !  *    $Header: kmem.c,v 3.0 91/05/17 16:14:21 jrd Rel $
  447.    *    Author: J. Davin
  448.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  449.    *    See permission and disclaimer notice in file "notice.h"
  450. diff -c -r old/bsd/kmem.h new/bsd/kmem.h
  451. *** old/bsd/kmem.h    Wed Jan 11 22:10:59 1989
  452. --- new/bsd/kmem.h    Fri May 17 16:14:39 1991
  453. ***************
  454. *** 2,8 ****
  455.   #define        _KMEM_H_
  456.   
  457.   /*
  458. !  *    $Header: kmem.h,v 1.1 89/01/11 22:10:58 jrd Exp $
  459.    *    Author: J. Davin
  460.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  461.    *    See permission and disclaimer notice in file "notice.h"
  462. --- 2,8 ----
  463.   #define        _KMEM_H_
  464.   
  465.   /*
  466. !  *    $Header: kmem.h,v 3.0 91/05/17 16:14:38 jrd Rel $
  467.    *    Author: J. Davin
  468.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  469.    *    See permission and disclaimer notice in file "notice.h"
  470. diff -c -r old/bsd/rte.c new/bsd/rte.c
  471. *** old/bsd/rte.c    Wed Jan 11 22:10:36 1989
  472. --- new/bsd/rte.c    Fri May 17 16:14:18 1991
  473. ***************
  474. *** 1,6 ****
  475.   
  476.   /*
  477. !  *    $Header: rte.c,v 1.1 89/01/11 22:10:35 jrd Exp $
  478.    *    Author: J. Davin
  479.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  480.    *    See permission and disclaimer notice in file "notice.h"
  481. --- 1,6 ----
  482.   
  483.   /*
  484. !  *    $Header: rte.c,v 3.0 91/05/17 16:14:15 jrd Rel $
  485.    *    Author: J. Davin
  486.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  487.    *    See permission and disclaimer notice in file "notice.h"
  488. ***************
  489. *** 222,227 ****
  490. --- 222,231 ----
  491.   
  492.       if (kmemRead ((CBytePtrType) & mbufBuf, (CIntfType) sizeof (mbufBuf),
  493.           location) != (CIntfType) sizeof (mbufBuf)) {
  494. +         return ((CUnslType) 0);
  495. +     }
  496. +     if (mbufBuf.m_type != MT_RTABLE) {
  497.           return ((CUnslType) 0);
  498.       }
  499.   
  500. diff -c -r old/bsd/rte.h new/bsd/rte.h
  501. *** old/bsd/rte.h    Wed Jan 11 22:10:52 1989
  502. --- new/bsd/rte.h    Fri May 17 16:14:36 1991
  503. ***************
  504. *** 2,8 ****
  505.   #define        _RTE_H_
  506.   
  507.   /*
  508. !  *    $Header: rte.h,v 1.1 89/01/11 22:10:51 jrd Exp $
  509.    *    Author: J. Davin
  510.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  511.    *    See permission and disclaimer notice in file "notice.h"
  512. --- 2,8 ----
  513.   #define        _RTE_H_
  514.   
  515.   /*
  516. !  *    $Header: rte.h,v 3.0 91/05/17 16:14:35 jrd Rel $
  517.    *    Author: J. Davin
  518.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  519.    *    See permission and disclaimer notice in file "notice.h"
  520. diff -c -r old/bsd/systm.c new/bsd/systm.c
  521. *** old/bsd/systm.c    Tue Aug  1 12:23:33 1989
  522. --- new/bsd/systm.c    Fri May 17 16:14:14 1991
  523. ***************
  524. *** 1,6 ****
  525.   
  526.   /*
  527. !  *    $Header: systm.c,v 1.2 89/02/17 18:40:42 jrd Exp $
  528.    *    Author: J. Davin
  529.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  530.    *    See permission and disclaimer notice in file "notice.h"
  531. --- 1,6 ----
  532.   
  533.   /*
  534. !  *    $Header: systm.c,v 3.0 91/05/17 16:14:13 jrd Rel $
  535.    *    Author: J. Davin
  536.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  537.    *    See permission and disclaimer notice in file "notice.h"
  538. diff -c -r old/bsd/systm.h new/bsd/systm.h
  539. *** old/bsd/systm.h    Wed Jan 11 22:10:50 1989
  540. --- new/bsd/systm.h    Fri May 17 16:14:34 1991
  541. ***************
  542. *** 2,8 ****
  543.   #define        _SYSTM_H_
  544.   
  545.   /*
  546. !  *    $Header: systm.h,v 1.1 89/01/11 22:10:50 jrd Exp $
  547.    *    Author: J. Davin
  548.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  549.    *    See permission and disclaimer notice in file "notice.h"
  550. --- 2,8 ----
  551.   #define        _SYSTM_H_
  552.   
  553.   /*
  554. !  *    $Header: systm.h,v 3.0 91/05/17 16:14:34 jrd Rel $
  555.    *    Author: J. Davin
  556.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  557.    *    See permission and disclaimer notice in file "notice.h"
  558. diff -c -r old/bsd/tcp.c new/bsd/tcp.c
  559. *** old/bsd/tcp.c    Wed Jan 11 22:10:44 1989
  560. --- new/bsd/tcp.c    Fri May 17 16:14:23 1991
  561. ***************
  562. *** 1,6 ****
  563.   
  564.   /*
  565. !  *    $Header: tcp.c,v 1.1 89/01/11 22:10:44 jrd Exp $
  566.    *    Author: J. Davin
  567.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  568.    *    See permission and disclaimer notice in file "notice.h"
  569. --- 1,6 ----
  570.   
  571.   /*
  572. !  *    $Header: tcp.c,v 3.0 91/05/17 16:14:22 jrd Rel $
  573.    *    Author: J. Davin
  574.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  575.    *    See permission and disclaimer notice in file "notice.h"
  576. diff -c -r old/bsd/tcp.h new/bsd/tcp.h
  577. *** old/bsd/tcp.h    Wed Jan 11 22:11:01 1989
  578. --- new/bsd/tcp.h    Fri May 17 16:14:40 1991
  579. ***************
  580. *** 2,8 ****
  581.   #define        _TCP_H_
  582.   
  583.   /*
  584. !  *    $Header: tcp.h,v 1.1 89/01/11 22:11:00 jrd Exp $
  585.    *    Author: J. Davin
  586.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  587.    *    See permission and disclaimer notice in file "notice.h"
  588. --- 2,8 ----
  589.   #define        _TCP_H_
  590.   
  591.   /*
  592. !  *    $Header: tcp.h,v 3.0 91/05/17 16:14:39 jrd Rel $
  593.    *    Author: J. Davin
  594.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  595.    *    See permission and disclaimer notice in file "notice.h"
  596. diff -c -r old/bsd/udp.c new/bsd/udp.c
  597. *** old/bsd/udp.c    Tue Aug  1 12:25:12 1989
  598. --- new/bsd/udp.c    Fri May 17 16:14:09 1991
  599. ***************
  600. *** 1,6 ****
  601.   
  602.   /*
  603. !  *    $Header: udp.c,v 1.2 89/02/06 20:47:19 jrd Exp $
  604.    *    Author: J. Davin
  605.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  606.    *    See permission and disclaimer notice in file "notice.h"
  607. --- 1,6 ----
  608.   
  609.   /*
  610. !  *    $Header: udp.c,v 3.0 91/05/17 16:14:08 jrd Rel $
  611.    *    Author: J. Davin
  612.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  613.    *    See permission and disclaimer notice in file "notice.h"
  614. diff -c -r old/bsd/udp.h new/bsd/udp.h
  615. *** old/bsd/udp.h    Wed Jan 11 22:10:48 1989
  616. --- new/bsd/udp.h    Fri May 17 16:14:31 1991
  617. ***************
  618. *** 2,8 ****
  619.   #define        _UDP_H_
  620.   
  621.   /*
  622. !  *    $Header: udp.h,v 1.1 89/01/11 22:10:48 jrd Exp $
  623.    *    Author: J. Davin
  624.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  625.    *    See permission and disclaimer notice in file "notice.h"
  626. --- 2,8 ----
  627.   #define        _UDP_H_
  628.   
  629.   /*
  630. !  *    $Header: udp.h,v 3.0 91/05/17 16:14:29 jrd Rel $
  631.    *    Author: J. Davin
  632.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  633.    *    See permission and disclaimer notice in file "notice.h"
  634. Only in new/bsd: udps.c
  635. Only in new/bsd: udps.h
  636. diff -c -r old/doc/Makefile new/doc/Makefile
  637. *** old/doc/Makefile    Sun Jan 15 20:01:48 1989
  638. --- new/doc/Makefile    Fri May 17 16:15:59 1991
  639. ***************
  640. *** 1,6 ****
  641.   
  642.   #
  643. ! #    $Header: Makefile,v 1.1 89/01/15 20:01:47 jrd Exp $
  644.   #    Author: J. Davin
  645.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  646.   #    See permission and disclaimer notice in file "notice.h"
  647. --- 1,6 ----
  648.   
  649.   #
  650. ! #    $Header: Makefile,v 3.0 91/05/17 16:15:58 jrd Rel $
  651.   #    Author: J. Davin
  652.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  653.   #    See permission and disclaimer notice in file "notice.h"
  654. ***************
  655. *** 22,28 ****
  656.               testtools.tex    \
  657.               guide.tex
  658.   
  659. ! all:        $(SOURCES)
  660.           latex guide.tex
  661.   
  662.   clean:
  663. --- 22,30 ----
  664.               testtools.tex    \
  665.               guide.tex
  666.   
  667. ! all:        guide.dvi
  668. ! guide.dvi:    $(SOURCES)
  669.           latex guide.tex
  670.   
  671.   clean:
  672. diff -c -r old/doc/goals.tex new/doc/goals.tex
  673. *** old/doc/goals.tex    Sun Jan 15 19:59:26 1989
  674. --- new/doc/goals.tex    Fri May 17 16:16:02 1991
  675. ***************
  676. *** 1,5 ****
  677.   %
  678. ! %    $Header: goals.tex,v 1.1 89/01/15 19:59:25 jrd Exp $
  679.   %    Author: J. Davin
  680.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  681.   %
  682. --- 1,5 ----
  683.   %
  684. ! %    $Header: goals.tex,v 3.0 91/05/17 16:16:01 jrd Rel $
  685.   %    Author: J. Davin
  686.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  687.   %
  688. diff -c -r old/doc/guide.tex new/doc/guide.tex
  689. *** old/doc/guide.tex    Sun Jan 15 19:59:28 1989
  690. --- new/doc/guide.tex    Fri May 17 16:16:19 1991
  691. ***************
  692. *** 1,5 ****
  693.   %
  694. ! %    $Header: guide.tex,v 1.1 89/01/15 19:59:27 jrd Exp $
  695.   %    Author: J. Davin
  696.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  697.   %
  698. --- 1,5 ----
  699.   %
  700. ! %    $Header: guide.tex,v 3.0 91/05/17 16:16:18 jrd Rel $
  701.   %    Author: J. Davin
  702.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  703.   %
  704. diff -c -r old/doc/libbsd.tex new/doc/libbsd.tex
  705. *** old/doc/libbsd.tex    Sun Jan 15 19:59:30 1989
  706. --- new/doc/libbsd.tex    Fri May 17 16:16:06 1991
  707. ***************
  708. *** 1,5 ****
  709.   %
  710. ! %    $Header: libbsd.tex,v 1.1 89/01/15 19:59:29 jrd Exp $
  711.   %    Author: J. Davin
  712.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  713.   %
  714. --- 1,5 ----
  715.   %
  716. ! %    $Header: libbsd.tex,v 3.0 91/05/17 16:16:04 jrd Rel $
  717.   %    Author: J. Davin
  718.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  719.   %
  720. diff -c -r old/doc/libsnmp.tex new/doc/libsnmp.tex
  721. *** old/doc/libsnmp.tex    Sun Jan 15 19:59:32 1989
  722. --- new/doc/libsnmp.tex    Fri May 17 16:16:07 1991
  723. ***************
  724. *** 1,5 ****
  725.   %
  726. ! %    $Header: libsnmp.tex,v 1.1 89/01/15 19:59:31 jrd Exp $
  727.   %    Author: J. Davin
  728.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  729.   %
  730. --- 1,5 ----
  731.   %
  732. ! %    $Header: libsnmp.tex,v 3.0 91/05/17 16:16:06 jrd Rel $
  733.   %    Author: J. Davin
  734.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  735.   %
  736. diff -c -r old/doc/overview.tex new/doc/overview.tex
  737. *** old/doc/overview.tex    Sun Jan 15 19:59:34 1989
  738. --- new/doc/overview.tex    Fri May 17 16:16:03 1991
  739. ***************
  740. *** 1,5 ****
  741.   %
  742. ! %    $Header: overview.tex,v 1.1 89/01/15 19:59:34 jrd Exp $
  743.   %    Author: J. Davin
  744.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  745.   %
  746. --- 1,5 ----
  747.   %
  748. ! %    $Header: overview.tex,v 3.0 91/05/17 16:16:02 jrd Rel $
  749.   %    Author: J. Davin
  750.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  751.   %
  752. diff -c -r old/doc/snmpd.tex new/doc/snmpd.tex
  753. *** old/doc/snmpd.tex    Sun Jan 15 19:59:36 1989
  754. --- new/doc/snmpd.tex    Fri May 17 16:16:09 1991
  755. ***************
  756. *** 1,5 ****
  757.   %
  758. ! %    $Header: snmpd.tex,v 1.1 89/01/15 19:59:36 jrd Exp $
  759.   %    Author: J. Davin
  760.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  761.   %
  762. --- 1,5 ----
  763.   %
  764. ! %    $Header: snmpd.tex,v 3.0 91/05/17 16:16:08 jrd Rel $
  765.   %    Author: J. Davin
  766.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  767.   %
  768. diff -c -r old/doc/snmpget.tex new/doc/snmpget.tex
  769. *** old/doc/snmpget.tex    Sun Jan 15 19:59:39 1989
  770. --- new/doc/snmpget.tex    Fri May 17 16:16:10 1991
  771. ***************
  772. *** 1,5 ****
  773.   %
  774. ! %    $Header: snmpget.tex,v 1.1 89/01/15 19:59:38 jrd Exp $
  775.   %    Author: J. Davin
  776.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  777.   %
  778. --- 1,5 ----
  779.   %
  780. ! %    $Header: snmpget.tex,v 3.0 91/05/17 16:16:09 jrd Rel $
  781.   %    Author: J. Davin
  782.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  783.   %
  784. diff -c -r old/doc/snmpnext.tex new/doc/snmpnext.tex
  785. *** old/doc/snmpnext.tex    Sun Jan 15 19:59:41 1989
  786. --- new/doc/snmpnext.tex    Fri May 17 16:16:12 1991
  787. ***************
  788. *** 1,5 ****
  789.   %
  790. ! %    $Header: snmpnext.tex,v 1.1 89/01/15 19:59:40 jrd Exp $
  791.   %    Author: J. Davin
  792.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  793.   %
  794. --- 1,5 ----
  795.   %
  796. ! %    $Header: snmpnext.tex,v 3.0 91/05/17 16:16:11 jrd Rel $
  797.   %    Author: J. Davin
  798.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  799.   %
  800. diff -c -r old/doc/snmpset.tex new/doc/snmpset.tex
  801. *** old/doc/snmpset.tex    Sun Jan 15 19:59:44 1989
  802. --- new/doc/snmpset.tex    Fri May 17 16:16:13 1991
  803. ***************
  804. *** 1,5 ****
  805.   %
  806. ! %    $Header: snmpset.tex,v 1.1 89/01/15 19:59:43 jrd Exp $
  807.   %    Author: J. Davin
  808.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  809.   %
  810. --- 1,5 ----
  811.   %
  812. ! %    $Header: snmpset.tex,v 3.0 91/05/17 16:16:12 jrd Rel $
  813.   %    Author: J. Davin
  814.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  815.   %
  816. diff -c -r old/doc/snmptrap.tex new/doc/snmptrap.tex
  817. *** old/doc/snmptrap.tex    Sun Jan 15 19:59:46 1989
  818. --- new/doc/snmptrap.tex    Fri May 17 16:16:15 1991
  819. ***************
  820. *** 1,5 ****
  821.   %
  822. ! %    $Header: snmptrap.tex,v 1.1 89/01/15 19:59:45 jrd Exp $
  823.   %    Author: J. Davin
  824.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  825.   %
  826. --- 1,5 ----
  827.   %
  828. ! %    $Header: snmptrap.tex,v 3.0 91/05/17 16:16:14 jrd Rel $
  829.   %    Author: J. Davin
  830.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  831.   %
  832. diff -c -r old/doc/snmptrapd.tex new/doc/snmptrapd.tex
  833. *** old/doc/snmptrapd.tex    Sun Jan 15 19:59:49 1989
  834. --- new/doc/snmptrapd.tex    Fri May 17 16:16:16 1991
  835. ***************
  836. *** 1,5 ****
  837.   %
  838. ! %    $Header: snmptrapd.tex,v 1.1 89/01/15 19:59:48 jrd Exp $
  839.   %    Author: J. Davin
  840.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  841.   %
  842. --- 1,5 ----
  843.   %
  844. ! %    $Header: snmptrapd.tex,v 3.0 91/05/17 16:16:15 jrd Rel $
  845.   %    Author: J. Davin
  846.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  847.   %
  848. diff -c -r old/doc/terms.tex new/doc/terms.tex
  849. *** old/doc/terms.tex    Sun Jan 15 19:59:55 1989
  850. --- new/doc/terms.tex    Fri May 17 16:16:00 1991
  851. ***************
  852. *** 1,5 ****
  853.   %
  854. ! %    $Header: terms.tex,v 1.1 89/01/15 19:59:51 jrd Exp $
  855.   %    Author: J. Davin
  856.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  857.   %
  858. --- 1,5 ----
  859.   %
  860. ! %    $Header: terms.tex,v 3.0 91/05/17 16:15:59 jrd Rel $
  861.   %    Author: J. Davin
  862.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  863.   %
  864. diff -c -r old/doc/testtools.tex new/doc/testtools.tex
  865. *** old/doc/testtools.tex    Sun Jan 15 19:59:57 1989
  866. --- new/doc/testtools.tex    Fri May 17 16:16:17 1991
  867. ***************
  868. *** 1,5 ****
  869.   %
  870. ! %    $Header: testtools.tex,v 1.1 89/01/15 19:59:56 jrd Exp $
  871.   %    Author: J. Davin
  872.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  873.   %
  874. --- 1,5 ----
  875.   %
  876. ! %    $Header: testtools.tex,v 3.0 91/05/17 16:16:17 jrd Rel $
  877.   %    Author: J. Davin
  878.   %    Copyright 1988, 1989, Massachusetts Institute of Technology
  879.   %
  880. diff -c -r old/scripts/0 new/scripts/0
  881. *** old/scripts/0    Sun Jan  1 12:12:37 1989
  882. --- new/scripts/0    Fri May 17 16:15:32 1991
  883. ***************
  884. *** 1,4 ****
  885. --- 1,7 ----
  886.   #
  887. + #    $Header: 0,v 3.0 91/05/17 16:15:31 jrd Rel $
  888. + #
  889. + #
  890.   #    SNMP Get Request
  891.   #
  892.   $1 48 128 02 01 00 04 00 \
  893. diff -c -r old/scripts/1 new/scripts/1
  894. *** old/scripts/1    Sun Jan  1 12:12:44 1989
  895. --- new/scripts/1    Fri May 17 16:15:35 1991
  896. ***************
  897. *** 1,4 ****
  898. --- 1,7 ----
  899.   #
  900. + #    $Header: 1,v 3.0 91/05/17 16:15:34 jrd Rel $
  901. + #
  902. + #
  903.   #    SNMP Get Request
  904.   #
  905.   $1 48 128 \
  906. diff -c -r old/scripts/10 new/scripts/10
  907. *** old/scripts/10    Sun Jan  1 12:12:52 1989
  908. --- new/scripts/10    Fri May 17 16:15:45 1991
  909. ***************
  910. *** 1,4 ****
  911. --- 1,7 ----
  912.   #
  913. + #    $Header: 10,v 3.0 91/05/17 16:15:44 jrd Rel $
  914. + #
  915. + #
  916.   #    SNMP Next Request
  917.   #
  918.   $1 48 128 02 01 00 04 00 \
  919. diff -c -r old/scripts/11 new/scripts/11
  920. *** old/scripts/11    Sun Jan  1 12:12:59 1989
  921. --- new/scripts/11    Fri May 17 16:15:46 1991
  922. ***************
  923. *** 1,4 ****
  924. --- 1,7 ----
  925.   #
  926. + #    $Header: 11,v 3.0 91/05/17 16:15:45 jrd Rel $
  927. + #
  928. + #
  929.   #    SNMP Get Request
  930.   #    Community: "public"
  931.   #
  932. diff -c -r old/scripts/12 new/scripts/12
  933. *** old/scripts/12    Sun Jan  1 12:13:13 1989
  934. --- new/scripts/12    Fri May 17 16:15:47 1991
  935. ***************
  936. *** 1,4 ****
  937. --- 1,7 ----
  938.   #
  939. + #    $Header: 12,v 3.0 91/05/17 16:15:47 jrd Rel $
  940. + #
  941. + #
  942.   #    SNMP Next Request
  943.   #    Community: "public"
  944.   #
  945. diff -c -r old/scripts/13 new/scripts/13
  946. *** old/scripts/13    Sun Jan  1 12:13:19 1989
  947. --- new/scripts/13    Fri May 17 16:15:49 1991
  948. ***************
  949. *** 1,4 ****
  950. --- 1,7 ----
  951.   #
  952. + #    $Header: 13,v 3.0 91/05/17 16:15:48 jrd Rel $
  953. + #
  954. + #
  955.   #    SNMP Next Request
  956.   #    Community: "public"
  957.   #
  958. diff -c -r old/scripts/14 new/scripts/14
  959. *** old/scripts/14    Sun Jan  1 12:13:27 1989
  960. --- new/scripts/14    Fri May 17 16:15:50 1991
  961. ***************
  962. *** 1,4 ****
  963. --- 1,7 ----
  964.   #
  965. + #    $Header: 14,v 3.0 91/05/17 16:15:49 jrd Rel $
  966. + #
  967. + #
  968.   #    SNMP Next Request
  969.   #    Community: "public"
  970.   #
  971. diff -c -r old/scripts/15 new/scripts/15
  972. *** old/scripts/15    Sun Jan  1 12:13:35 1989
  973. --- new/scripts/15    Fri May 17 16:15:51 1991
  974. ***************
  975. *** 1,4 ****
  976. --- 1,7 ----
  977.   #
  978. + #    $Header: 15,v 3.0 91/05/17 16:15:51 jrd Rel $
  979. + #
  980. + #
  981.   #    SNMP Next Request
  982.   #
  983.   $1 48 39 02 01 00 04 06 0x70 0x75 0x62 0x6C 0x69 0x63 \
  984. diff -c -r old/scripts/16 new/scripts/16
  985. *** old/scripts/16    Fri Jan  6 14:12:25 1989
  986. --- new/scripts/16    Fri May 17 16:15:53 1991
  987. ***************
  988. *** 1,4 ****
  989. --- 1,7 ----
  990.   #
  991. + #    $Header: 16,v 3.0 91/05/17 16:15:52 jrd Rel $
  992. + #
  993. + #
  994.   #    SNMP Get Request
  995.   #    Community: "public"
  996.   #
  997. diff -c -r old/scripts/17 new/scripts/17
  998. *** old/scripts/17    Fri Jan  6 14:16:58 1989
  999. --- new/scripts/17    Fri May 17 16:15:54 1991
  1000. ***************
  1001. *** 1,4 ****
  1002. --- 1,7 ----
  1003.   #
  1004. + #    $Header: 17,v 3.0 91/05/17 16:15:53 jrd Rel $
  1005. + #
  1006. + #
  1007.   #    SNMP Next Request
  1008.   #    Community: "public"
  1009.   #
  1010. diff -c -r old/scripts/18 new/scripts/18
  1011. *** old/scripts/18    Fri Jan  6 14:32:09 1989
  1012. --- new/scripts/18    Fri May 17 16:15:55 1991
  1013. ***************
  1014. *** 1,4 ****
  1015. --- 1,7 ----
  1016.   #
  1017. + #    $Header: 18,v 3.0 91/05/17 16:15:54 jrd Rel $
  1018. + #
  1019. + #
  1020.   #    SNMP Set Requests
  1021.   #    Community: "public"
  1022.   #
  1023. diff -c -r old/scripts/19 new/scripts/19
  1024. *** old/scripts/19    Sun Feb 25 16:55:46 1990
  1025. --- new/scripts/19    Fri May 17 16:15:56 1991
  1026. ***************
  1027. *** 1,4 ****
  1028. --- 1,7 ----
  1029.   #
  1030. + #    $Header: 19,v 3.0 91/05/17 16:15:56 jrd Rel $
  1031. + #
  1032. + #
  1033.   #    SNMP Get Request: Test Long Lengths
  1034.   #
  1035.   $1 48 130 01 38 02 01 00 04 00 \
  1036. diff -c -r old/scripts/2 new/scripts/2
  1037. *** old/scripts/2    Sun Jan  1 12:13:43 1989
  1038. --- new/scripts/2    Fri May 17 16:15:36 1991
  1039. ***************
  1040. *** 1,4 ****
  1041. --- 1,7 ----
  1042.   #
  1043. + #    $Header: 2,v 3.0 91/05/17 16:15:35 jrd Rel $
  1044. + #
  1045. + #
  1046.   #    SNMP Get Request (ill-formed)
  1047.   #
  1048.   $1 48 128 \
  1049. diff -c -r old/scripts/3 new/scripts/3
  1050. *** old/scripts/3    Sun Jan  1 12:13:50 1989
  1051. --- new/scripts/3    Fri May 17 16:15:37 1991
  1052. ***************
  1053. *** 1,4 ****
  1054. --- 1,7 ----
  1055.   #
  1056. + #    $Header: 3,v 3.0 91/05/17 16:15:37 jrd Rel $
  1057. + #
  1058. + #
  1059.   #    SNMP Get Request
  1060.   #
  1061.   $1 48 128 \
  1062. diff -c -r old/scripts/5 new/scripts/5
  1063. *** old/scripts/5    Sun Jan  1 12:13:57 1989
  1064. --- new/scripts/5    Fri May 17 16:15:39 1991
  1065. ***************
  1066. *** 1,4 ****
  1067. --- 1,7 ----
  1068.   #
  1069. + #    $Header: 5,v 3.0 91/05/17 16:15:38 jrd Rel $
  1070. + #
  1071. + #
  1072.   #    SNMP Trap (ill-formed)
  1073.   #
  1074.   $1 48 128 02 01 00 04 00 \
  1075. diff -c -r old/scripts/6 new/scripts/6
  1076. *** old/scripts/6    Sun Jan  1 12:14:07 1989
  1077. --- new/scripts/6    Fri May 17 16:15:40 1991
  1078. ***************
  1079. *** 1,4 ****
  1080. --- 1,7 ----
  1081.   #
  1082. + #    $Header: 6,v 3.0 91/05/17 16:15:39 jrd Rel $
  1083. + #
  1084. + #
  1085.   #    SNMP Trap
  1086.   #
  1087.   $1 48 128 02 01 00 04 00 \
  1088. diff -c -r old/scripts/7 new/scripts/7
  1089. *** old/scripts/7    Sun Jan  1 12:14:13 1989
  1090. --- new/scripts/7    Fri May 17 16:15:41 1991
  1091. ***************
  1092. *** 1,4 ****
  1093. --- 1,7 ----
  1094.   #
  1095. + #    $Header: 7,v 3.0 91/05/17 16:15:40 jrd Rel $
  1096. + #
  1097. + #
  1098.   #    SNMP Get Request (with Constructor Octet Strings)
  1099.   #
  1100.   $1 48 128 02 01 00 04 00 \
  1101. diff -c -r old/scripts/8 new/scripts/8
  1102. *** old/scripts/8    Sun Jan  1 12:14:20 1989
  1103. --- new/scripts/8    Fri May 17 16:15:42 1991
  1104. ***************
  1105. *** 1,4 ****
  1106. --- 1,7 ----
  1107.   #
  1108. + #    $Header: 8,v 3.0 91/05/17 16:15:42 jrd Rel $
  1109. + #
  1110. + #
  1111.   #    SNMP Get Request (with Constructor Octet Strings)
  1112.   #
  1113.   $1 48 128 02 01 00 04 00 \
  1114. diff -c -r old/scripts/9 new/scripts/9
  1115. *** old/scripts/9    Sun Jan  1 12:14:28 1989
  1116. --- new/scripts/9    Fri May 17 16:15:43 1991
  1117. ***************
  1118. *** 1,4 ****
  1119. --- 1,7 ----
  1120.   #
  1121. + #    $Header: 9,v 3.0 91/05/17 16:15:43 jrd Rel $
  1122. + #
  1123. + #
  1124.   #    SNMP Get Request
  1125.   #
  1126.   $1 48 128 02 01 00 04 00 \
  1127. Only in new/scripts: Makefile
  1128. Only in new/scripts: RCS
  1129. diff -c -r old/smptest/Makefile new/smptest/Makefile
  1130. *** old/smptest/Makefile    Sun Jan 15 20:38:22 1989
  1131. --- new/smptest/Makefile    Fri May 17 16:15:20 1991
  1132. ***************
  1133. *** 1,6 ****
  1134.   
  1135.   #
  1136. ! #    $Header: Makefile,v 1.1 89/01/15 20:38:21 jrd Exp $
  1137.   #    Author: J. Davin
  1138.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  1139.   #    See permission and disclaimer notice in file "notice.h"
  1140. --- 1,6 ----
  1141.   
  1142.   #
  1143. ! #    $Header: Makefile,v 3.0 91/05/17 16:15:19 jrd Rel $
  1144.   #    Author: J. Davin
  1145.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  1146.   #    See permission and disclaimer notice in file "notice.h"
  1147. diff -c -r old/smptest/smptest.c new/smptest/smptest.c
  1148. *** old/smptest/smptest.c    Wed Jan 11 22:12:09 1989
  1149. --- new/smptest/smptest.c    Fri May 17 16:15:22 1991
  1150. ***************
  1151. *** 1,6 ****
  1152.   
  1153.   /*
  1154. !  *    $Header: smptest.c,v 1.1 89/01/11 22:12:08 jrd Exp $
  1155.    *    Author: J. Davin
  1156.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1157.    *    See permission and disclaimer notice in file "notice.h"
  1158. --- 1,6 ----
  1159.   
  1160.   /*
  1161. !  *    $Header: smptest.c,v 3.0 91/05/17 16:15:21 jrd Rel $
  1162.    *    Author: J. Davin
  1163.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1164.    *    See permission and disclaimer notice in file "notice.h"
  1165. diff -c -r old/snmp/Makefile new/snmp/Makefile
  1166. *** old/snmp/Makefile    Sat Jan 14 16:52:44 1989
  1167. --- new/snmp/Makefile    Fri May 17 16:12:35 1991
  1168. ***************
  1169. *** 1,6 ****
  1170.   
  1171.   #
  1172. ! #    $Header: Makefile,v 1.1 89/01/11 22:08:08 jrd Exp $
  1173.   #    Author: J. Davin
  1174.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  1175.   #    See permission and disclaimer notice in file "notice.h"
  1176. --- 1,6 ----
  1177.   
  1178.   #
  1179. ! #    $Header: Makefile,v 3.0 91/05/17 16:12:33 jrd Rel $
  1180.   #    Author: J. Davin
  1181.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  1182.   #    See permission and disclaimer notice in file "notice.h"
  1183. ***************
  1184. *** 85,90 ****
  1185. --- 85,91 ----
  1186.           debug.h \
  1187.           error.h \
  1188.           local.h \
  1189. +         notice.h \
  1190.           mis.h \
  1191.           aps.h \
  1192.           ap0.h \
  1193. diff -c -r old/snmp/ap0.c new/snmp/ap0.c
  1194. *** old/snmp/ap0.c    Wed Jan 11 22:08:20 1989
  1195. --- new/snmp/ap0.c    Fri May 17 16:12:42 1991
  1196. ***************
  1197. *** 1,6 ****
  1198.   
  1199.   /*
  1200. !  *    $Header: ap0.c,v 1.1 89/01/11 22:08:19 jrd Exp $
  1201.    *    Author: J. Davin
  1202.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1203.    *    See permission and disclaimer notice in file "notice.h"
  1204. --- 1,6 ----
  1205.   
  1206.   /*
  1207. !  *    $Header: ap0.c,v 3.0 91/05/17 16:12:41 jrd Rel $
  1208.    *    Author: J. Davin
  1209.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1210.    *    See permission and disclaimer notice in file "notice.h"
  1211. diff -c -r old/snmp/ap0.h new/snmp/ap0.h
  1212. *** old/snmp/ap0.h    Wed Jan 11 22:09:46 1989
  1213. --- new/snmp/ap0.h    Fri May 17 16:13:41 1991
  1214. ***************
  1215. *** 2,8 ****
  1216.   #define        _AP0_H_
  1217.   
  1218.   /*
  1219. !  *    $Header: ap0.h,v 1.1 89/01/11 22:09:45 jrd Exp $
  1220.    *    Author: J. Davin
  1221.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1222.    *    See permission and disclaimer notice in file "notice.h"
  1223. --- 2,8 ----
  1224.   #define        _AP0_H_
  1225.   
  1226.   /*
  1227. !  *    $Header: ap0.h,v 3.0 91/05/17 16:13:40 jrd Rel $
  1228.    *    Author: J. Davin
  1229.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1230.    *    See permission and disclaimer notice in file "notice.h"
  1231. diff -c -r old/snmp/aps.c new/snmp/aps.c
  1232. *** old/snmp/aps.c    Wed Jan 11 22:08:18 1989
  1233. --- new/snmp/aps.c    Fri May 17 16:12:41 1991
  1234. ***************
  1235. *** 1,6 ****
  1236.   
  1237.   /*
  1238. !  *    $Header: aps.c,v 1.1 89/01/11 22:08:17 jrd Exp $
  1239.    *    Author: J. Davin
  1240.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1241.    *    See permission and disclaimer notice in file "notice.h"
  1242. --- 1,6 ----
  1243.   
  1244.   /*
  1245. !  *    $Header: aps.c,v 3.0 91/05/17 16:12:39 jrd Rel $
  1246.    *    Author: J. Davin
  1247.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1248.    *    See permission and disclaimer notice in file "notice.h"
  1249. diff -c -r old/snmp/aps.h new/snmp/aps.h
  1250. *** old/snmp/aps.h    Wed Jan 11 22:09:43 1989
  1251. --- new/snmp/aps.h    Fri May 17 16:13:39 1991
  1252. ***************
  1253. *** 2,8 ****
  1254.   #define        _APS_H_
  1255.   
  1256.   /*
  1257. !  *    $Header: aps.h,v 1.1 89/01/11 22:09:43 jrd Exp $
  1258.    *    Author: J. Davin
  1259.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1260.    *    See permission and disclaimer notice in file "notice.h"
  1261. --- 2,8 ----
  1262.   #define        _APS_H_
  1263.   
  1264.   /*
  1265. !  *    $Header: aps.h,v 3.0 91/05/17 16:13:39 jrd Rel $
  1266.    *    Author: J. Davin
  1267.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1268.    *    See permission and disclaimer notice in file "notice.h"
  1269. diff -c -r old/snmp/asl.c new/snmp/asl.c
  1270. *** old/snmp/asl.c    Tue Aug  1 12:27:08 1989
  1271. --- new/snmp/asl.c    Fri May 17 16:12:51 1991
  1272. ***************
  1273. *** 1,6 ****
  1274.   
  1275.   /*
  1276. !  *    $Header: asl.c,v 1.2 89/02/06 20:51:19 jrd Exp $
  1277.    *    Author: J. Davin
  1278.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1279.    *    See permission and disclaimer notice in file "notice.h"
  1280. --- 1,6 ----
  1281.   
  1282.   /*
  1283. !  *    $Header: asl.c,v 3.0 91/05/17 16:12:49 jrd Rel $
  1284.    *    Author: J. Davin
  1285.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1286.    *    See permission and disclaimer notice in file "notice.h"
  1287. diff -c -r old/snmp/asl.h new/snmp/asl.h
  1288. *** old/snmp/asl.h    Wed Jan 11 22:10:00 1989
  1289. --- new/snmp/asl.h    Fri May 17 16:13:47 1991
  1290. ***************
  1291. *** 2,8 ****
  1292.   #define        _ASL_H_
  1293.   
  1294.   /*
  1295. !  *    $Header: asl.h,v 1.1 89/01/11 22:10:00 jrd Exp $
  1296.    *    Author: J. Davin
  1297.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1298.    *    See permission and disclaimer notice in file "notice.h"
  1299. --- 2,8 ----
  1300.   #define        _ASL_H_
  1301.   
  1302.   /*
  1303. !  *    $Header: asl.h,v 3.0 91/05/17 16:13:46 jrd Rel $
  1304.    *    Author: J. Davin
  1305.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1306.    *    See permission and disclaimer notice in file "notice.h"
  1307. diff -c -r old/snmp/asldefs.h new/snmp/asldefs.h
  1308. *** old/snmp/asldefs.h    Wed Jan 11 22:10:03 1989
  1309. --- new/snmp/asldefs.h    Fri May 17 16:13:48 1991
  1310. ***************
  1311. *** 2,8 ****
  1312.   #define        _ASLDEFS_H_
  1313.   
  1314.   /*
  1315. !  *    $Header: asldefs.h,v 1.1 89/01/11 22:10:02 jrd Exp $
  1316.    *    Author: J. Davin
  1317.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1318.    *    See permission and disclaimer notice in file "notice.h"
  1319. --- 2,8 ----
  1320.   #define        _ASLDEFS_H_
  1321.   
  1322.   /*
  1323. !  *    $Header: asldefs.h,v 3.0 91/05/17 16:13:47 jrd Rel $
  1324.    *    Author: J. Davin
  1325.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1326.    *    See permission and disclaimer notice in file "notice.h"
  1327. diff -c -r old/snmp/asn.c new/snmp/asn.c
  1328. *** old/snmp/asn.c    Thu Oct 11 19:32:56 1990
  1329. --- new/snmp/asn.c    Fri May 17 16:12:48 1991
  1330. ***************
  1331. *** 1,6 ****
  1332.   
  1333.   /*
  1334. !  *    $Header: asn.c,v 1.5 90/10/11 19:29:19 jrd Exp $
  1335.    *    Author: J. Davin
  1336.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1337.    *    See permission and disclaimer notice in file "notice.h"
  1338. --- 1,6 ----
  1339.   
  1340.   /*
  1341. !  *    $Header: asn.c,v 3.0 91/05/17 16:12:43 jrd Rel $
  1342.    *    Author: J. Davin
  1343.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1344.    *    See permission and disclaimer notice in file "notice.h"
  1345. diff -c -r old/snmp/asn.h new/snmp/asn.h
  1346. *** old/snmp/asn.h    Wed Jan 11 22:09:55 1989
  1347. --- new/snmp/asn.h    Fri May 17 16:13:44 1991
  1348. ***************
  1349. *** 2,8 ****
  1350.   #define        _ASN_H_
  1351.   
  1352.   /*
  1353. !  *    $Header: asn.h,v 1.1 89/01/11 22:09:55 jrd Exp $
  1354.    *    Author: J. Davin
  1355.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1356.    *    See permission and disclaimer notice in file "notice.h"
  1357. --- 2,8 ----
  1358.   #define        _ASN_H_
  1359.   
  1360.   /*
  1361. !  *    $Header: asn.h,v 3.0 91/05/17 16:13:43 jrd Rel $
  1362.    *    Author: J. Davin
  1363.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1364.    *    See permission and disclaimer notice in file "notice.h"
  1365. diff -c -r old/snmp/asndefs.h new/snmp/asndefs.h
  1366. *** old/snmp/asndefs.h    Wed Jan 11 22:09:58 1989
  1367. --- new/snmp/asndefs.h    Fri May 17 16:13:45 1991
  1368. ***************
  1369. *** 2,8 ****
  1370.   #define        _ASNDEFS_H_
  1371.   
  1372.   /*
  1373. !  *    $Header: asndefs.h,v 1.1 89/01/11 22:09:57 jrd Exp $
  1374.    *    Author: J. Davin
  1375.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1376.    *    See permission and disclaimer notice in file "notice.h"
  1377. --- 2,8 ----
  1378.   #define        _ASNDEFS_H_
  1379.   
  1380.   /*
  1381. !  *    $Header: asndefs.h,v 3.0 91/05/17 16:13:44 jrd Rel $
  1382.    *    Author: J. Davin
  1383.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1384.    *    See permission and disclaimer notice in file "notice.h"
  1385. diff -c -r old/snmp/asx.c new/snmp/asx.c
  1386. *** old/snmp/asx.c    Tue Aug  1 15:17:19 1989
  1387. --- new/snmp/asx.c    Fri May 17 16:13:16 1991
  1388. ***************
  1389. *** 1,6 ****
  1390.   
  1391.   /*
  1392. !  *    $Header: asx.c,v 1.2 89/05/31 19:25:51 jrd Exp $
  1393.    *    Author: J. Davin
  1394.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1395.    *    See permission and disclaimer notice in file "notice.h"
  1396. --- 1,6 ----
  1397.   
  1398.   /*
  1399. !  *    $Header: asx.c,v 3.0 91/05/17 16:13:15 jrd Rel $
  1400.    *    Author: J. Davin
  1401.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1402.    *    See permission and disclaimer notice in file "notice.h"
  1403. ***************
  1404. *** 133,140 ****
  1405.               AsnIndexType        i;
  1406.               AsnIdType        item;
  1407.   
  1408. !             item = (AsnIdType) 0;
  1409. !             for (i =  1;  i <= asnSons (asn);
  1410.                   item = asnFree (item)) {
  1411.                   item = asnComponent (asn, i);
  1412.                   (void) asxPrint (item, level + 1);
  1413. --- 133,139 ----
  1414.               AsnIndexType        i;
  1415.               AsnIdType        item;
  1416.   
  1417. !             for (i = 1;  i <= asnSons (asn);
  1418.                   item = asnFree (item)) {
  1419.                   item = asnComponent (asn, i);
  1420.                   (void) asxPrint (item, level + 1);
  1421. diff -c -r old/snmp/asx.h new/snmp/asx.h
  1422. *** old/snmp/asx.h    Wed Jan 11 22:10:09 1989
  1423. --- new/snmp/asx.h    Fri May 17 16:13:53 1991
  1424. ***************
  1425. *** 2,8 ****
  1426.   #define        _ASX_H_
  1427.   
  1428.   /*
  1429. !  *    $Header: asx.h,v 1.1 89/01/11 22:10:09 jrd Exp $
  1430.    *    Author: J. Davin
  1431.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1432.    *    See permission and disclaimer notice in file "notice.h"
  1433. --- 2,8 ----
  1434.   #define        _ASX_H_
  1435.   
  1436.   /*
  1437. !  *    $Header: asx.h,v 3.0 91/05/17 16:13:52 jrd Rel $
  1438.    *    Author: J. Davin
  1439.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1440.    *    See permission and disclaimer notice in file "notice.h"
  1441. diff -c -r old/snmp/avl.c new/snmp/avl.c
  1442. *** old/snmp/avl.c    Wed Jan 11 22:09:04 1989
  1443. --- new/snmp/avl.c    Fri May 17 16:13:11 1991
  1444. ***************
  1445. *** 1,6 ****
  1446.   
  1447.   /*
  1448. !  *    $Header: avl.c,v 1.1 89/01/11 22:09:02 jrd Exp $
  1449.    *    Author: J. Davin
  1450.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1451.    *    See permission and disclaimer notice in file "notice.h"
  1452. --- 1,6 ----
  1453.   
  1454.   /*
  1455. !  *    $Header: avl.c,v 3.0 91/05/17 16:13:08 jrd Rel $
  1456.    *    Author: J. Davin
  1457.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1458.    *    See permission and disclaimer notice in file "notice.h"
  1459. diff -c -r old/snmp/avl.h new/snmp/avl.h
  1460. *** old/snmp/avl.h    Wed Jan 11 22:10:07 1989
  1461. --- new/snmp/avl.h    Fri May 17 16:13:51 1991
  1462. ***************
  1463. *** 2,8 ****
  1464.   #define        _AVL_H_
  1465.   
  1466.   /*
  1467. !  *    $Header: avl.h,v 1.1 89/01/11 22:10:07 jrd Exp $
  1468.    *    Author: J. Davin
  1469.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1470.    *    See permission and disclaimer notice in file "notice.h"
  1471. --- 2,8 ----
  1472.   #define        _AVL_H_
  1473.   
  1474.   /*
  1475. !  *    $Header: avl.h,v 3.0 91/05/17 16:13:50 jrd Rel $
  1476.    *    Author: J. Davin
  1477.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1478.    *    See permission and disclaimer notice in file "notice.h"
  1479. diff -c -r old/snmp/ctypes.h new/snmp/ctypes.h
  1480. *** old/snmp/ctypes.h    Wed Jan 11 22:09:30 1989
  1481. --- new/snmp/ctypes.h    Fri May 17 16:13:28 1991
  1482. ***************
  1483. *** 2,8 ****
  1484.   #define        _CTYPES_H_
  1485.   
  1486.   /*
  1487. !  *    $Header: ctypes.h,v 1.1 89/01/11 22:09:29 jrd Exp $
  1488.    *    Author: J. Davin
  1489.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1490.    *    See permission and disclaimer notice in file "notice.h"
  1491. --- 2,8 ----
  1492.   #define        _CTYPES_H_
  1493.   
  1494.   /*
  1495. !  *    $Header: ctypes.h,v 3.0 91/05/17 16:13:27 jrd Rel $
  1496.    *    Author: J. Davin
  1497.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1498.    *    See permission and disclaimer notice in file "notice.h"
  1499. diff -c -r old/snmp/debug.h new/snmp/debug.h
  1500. *** old/snmp/debug.h    Wed Jan 11 22:09:35 1989
  1501. --- new/snmp/debug.h    Fri May 17 16:13:32 1991
  1502. ***************
  1503. *** 2,8 ****
  1504.   #define        _DEBUG_H_
  1505.   
  1506.   /*
  1507. !  *    $Header: debug.h,v 1.1 89/01/11 22:09:34 jrd Exp $
  1508.    *    Author: J. Davin
  1509.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1510.    *    See permission and disclaimer notice in file "notice.h"
  1511. --- 2,8 ----
  1512.   #define        _DEBUG_H_
  1513.   
  1514.   /*
  1515. !  *    $Header: debug.h,v 3.0 91/05/17 16:13:31 jrd Rel $
  1516.    *    Author: J. Davin
  1517.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1518.    *    See permission and disclaimer notice in file "notice.h"
  1519. diff -c -r old/snmp/error.h new/snmp/error.h
  1520. *** old/snmp/error.h    Wed Jan 11 22:09:37 1989
  1521. --- new/snmp/error.h    Fri May 17 16:13:33 1991
  1522. ***************
  1523. *** 2,8 ****
  1524.   #define        _ERROR_H_
  1525.   
  1526.   /*
  1527. !  *    $Header: error.h,v 1.1 89/01/11 22:09:37 jrd Exp $
  1528.    *    Author: J. Davin
  1529.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1530.    *    See permission and disclaimer notice in file "notice.h"
  1531. --- 2,8 ----
  1532.   #define        _ERROR_H_
  1533.   
  1534.   /*
  1535. !  *    $Header: error.h,v 3.0 91/05/17 16:13:33 jrd Rel $
  1536.    *    Author: J. Davin
  1537.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1538.    *    See permission and disclaimer notice in file "notice.h"
  1539. diff -c -r old/snmp/local.h new/snmp/local.h
  1540. *** old/snmp/local.h    Wed Jan 11 22:09:40 1989
  1541. --- new/snmp/local.h    Fri May 17 16:13:35 1991
  1542. ***************
  1543. *** 2,8 ****
  1544.   #define        _LOCAL_H_
  1545.   
  1546.   /*
  1547. !  *    $Header: local.h,v 1.1 89/01/11 22:09:39 jrd Exp $
  1548.    *    Author: J. Davin
  1549.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1550.    *    See permission and disclaimer notice in file "notice.h"
  1551. --- 2,8 ----
  1552.   #define        _LOCAL_H_
  1553.   
  1554.   /*
  1555. !  *    $Header: local.h,v 3.0 91/05/17 16:13:34 jrd Rel $
  1556.    *    Author: J. Davin
  1557.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1558.    *    See permission and disclaimer notice in file "notice.h"
  1559. diff -c -r old/snmp/mis.c new/snmp/mis.c
  1560. *** old/snmp/mis.c    Wed Jan 11 22:08:15 1989
  1561. --- new/snmp/mis.c    Fri May 17 16:12:38 1991
  1562. ***************
  1563. *** 1,6 ****
  1564.   
  1565.   /*
  1566. !  *    $Header: mis.c,v 1.1 89/01/11 22:08:14 jrd Exp $
  1567.    *    Author: J. Davin
  1568.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1569.    *    See permission and disclaimer notice in file "notice.h"
  1570. --- 1,6 ----
  1571.   
  1572.   /*
  1573. !  *    $Header: mis.c,v 3.0 91/05/17 16:12:37 jrd Rel $
  1574.    *    Author: J. Davin
  1575.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1576.    *    See permission and disclaimer notice in file "notice.h"
  1577. diff -c -r old/snmp/mis.h new/snmp/mis.h
  1578. *** old/snmp/mis.h    Wed Jan 11 22:09:42 1989
  1579. --- new/snmp/mis.h    Fri May 17 16:13:38 1991
  1580. ***************
  1581. *** 2,8 ****
  1582.   #define        _MIS_H_
  1583.   
  1584.   /*
  1585. !  *    $Header: mis.h,v 1.1 89/01/11 22:09:41 jrd Exp $
  1586.    *    Author: J. Davin
  1587.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1588.    *    See permission and disclaimer notice in file "notice.h"
  1589. --- 2,8 ----
  1590.   #define        _MIS_H_
  1591.   
  1592.   /*
  1593. !  *    $Header: mis.h,v 3.0 91/05/17 16:13:37 jrd Rel $
  1594.    *    Author: J. Davin
  1595.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1596.    *    See permission and disclaimer notice in file "notice.h"
  1597. diff -c -r old/snmp/miv.h new/snmp/miv.h
  1598. *** old/snmp/miv.h    Wed Jan 11 22:10:05 1989
  1599. --- new/snmp/miv.h    Fri May 17 16:13:50 1991
  1600. ***************
  1601. *** 2,8 ****
  1602.   #define        _MIV_H_
  1603.   
  1604.   /*
  1605. !  *    $Header: miv.h,v 1.1 89/01/11 22:10:05 jrd Exp $
  1606.    *    Author: J. Davin
  1607.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1608.    *    See permission and disclaimer notice in file "notice.h"
  1609. --- 2,8 ----
  1610.   #define        _MIV_H_
  1611.   
  1612.   /*
  1613. !  *    $Header: miv.h,v 3.0 91/05/17 16:13:49 jrd Rel $
  1614.    *    Author: J. Davin
  1615.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1616.    *    See permission and disclaimer notice in file "notice.h"
  1617. diff -c -r old/snmp/miv0.c new/snmp/miv0.c
  1618. *** old/snmp/miv0.c    Wed Jan 11 22:08:33 1989
  1619. --- new/snmp/miv0.c    Fri May 17 16:12:53 1991
  1620. ***************
  1621. *** 1,6 ****
  1622.   
  1623.   /*
  1624. !  *    $Header: miv0.c,v 1.1 89/01/11 22:08:31 jrd Exp $
  1625.    *    Author: J. Davin
  1626.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1627.    *    See permission and disclaimer notice in file "notice.h"
  1628. --- 1,6 ----
  1629.   
  1630.   /*
  1631. !  *    $Header: miv0.c,v 3.0 91/05/17 16:12:51 jrd Rel $
  1632.    *    Author: J. Davin
  1633.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1634.    *    See permission and disclaimer notice in file "notice.h"
  1635. diff -c -r old/snmp/miv1.c new/snmp/miv1.c
  1636. *** old/snmp/miv1.c    Wed Jan 11 22:08:43 1989
  1637. --- new/snmp/miv1.c    Fri May 17 16:12:55 1991
  1638. ***************
  1639. *** 1,6 ****
  1640.   
  1641.   /*
  1642. !  *    $Header: miv1.c,v 1.1 89/01/11 22:08:41 jrd Exp $
  1643.    *    Author: J. Davin
  1644.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1645.    *    See permission and disclaimer notice in file "notice.h"
  1646. --- 1,6 ----
  1647.   
  1648.   /*
  1649. !  *    $Header: miv1.c,v 3.0 91/05/17 16:12:54 jrd Rel $
  1650.    *    Author: J. Davin
  1651.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1652.    *    See permission and disclaimer notice in file "notice.h"
  1653. diff -c -r old/snmp/miv2.c new/snmp/miv2.c
  1654. *** old/snmp/miv2.c    Wed Jan 11 22:08:46 1989
  1655. --- new/snmp/miv2.c    Fri May 17 16:12:57 1991
  1656. ***************
  1657. *** 1,6 ****
  1658.   
  1659.   /*
  1660. !  *    $Header: miv2.c,v 1.1 89/01/11 22:08:45 jrd Exp $
  1661.    *    Author: J. Davin
  1662.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1663.    *    See permission and disclaimer notice in file "notice.h"
  1664. --- 1,6 ----
  1665.   
  1666.   /*
  1667. !  *    $Header: miv2.c,v 3.0 91/05/17 16:12:56 jrd Rel $
  1668.    *    Author: J. Davin
  1669.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1670.    *    See permission and disclaimer notice in file "notice.h"
  1671. diff -c -r old/snmp/miv3.c new/snmp/miv3.c
  1672. *** old/snmp/miv3.c    Wed Jan 11 22:08:48 1989
  1673. --- new/snmp/miv3.c    Fri May 17 16:13:01 1991
  1674. ***************
  1675. *** 1,6 ****
  1676.   
  1677.   /*
  1678. !  *    $Header: miv3.c,v 1.1 89/01/11 22:08:48 jrd Exp $
  1679.    *    Author: J. Davin
  1680.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1681.    *    See permission and disclaimer notice in file "notice.h"
  1682. --- 1,6 ----
  1683.   
  1684.   /*
  1685. !  *    $Header: miv3.c,v 3.0 91/05/17 16:12:58 jrd Rel $
  1686.    *    Author: J. Davin
  1687.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1688.    *    See permission and disclaimer notice in file "notice.h"
  1689. diff -c -r old/snmp/miv4.c new/snmp/miv4.c
  1690. *** old/snmp/miv4.c    Wed Jan 11 22:08:51 1989
  1691. --- new/snmp/miv4.c    Fri May 17 16:13:02 1991
  1692. ***************
  1693. *** 1,6 ****
  1694.   
  1695.   /*
  1696. !  *    $Header: miv4.c,v 1.1 89/01/11 22:08:50 jrd Exp $
  1697.    *    Author: J. Davin
  1698.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1699.    *    See permission and disclaimer notice in file "notice.h"
  1700. --- 1,6 ----
  1701.   
  1702.   /*
  1703. !  *    $Header: miv4.c,v 3.0 91/05/17 16:13:01 jrd Rel $
  1704.    *    Author: J. Davin
  1705.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1706.    *    See permission and disclaimer notice in file "notice.h"
  1707. diff -c -r old/snmp/miv5.c new/snmp/miv5.c
  1708. *** old/snmp/miv5.c    Wed Jan 11 22:08:55 1989
  1709. --- new/snmp/miv5.c    Fri May 17 16:13:04 1991
  1710. ***************
  1711. *** 1,6 ****
  1712.   
  1713.   /*
  1714. !  *    $Header: miv5.c,v 1.1 89/01/11 22:08:54 jrd Exp $
  1715.    *    Author: J. Davin
  1716.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1717.    *    See permission and disclaimer notice in file "notice.h"
  1718. --- 1,6 ----
  1719.   
  1720.   /*
  1721. !  *    $Header: miv5.c,v 3.0 91/05/17 16:13:03 jrd Rel $
  1722.    *    Author: J. Davin
  1723.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1724.    *    See permission and disclaimer notice in file "notice.h"
  1725. diff -c -r old/snmp/miv6.c new/snmp/miv6.c
  1726. *** old/snmp/miv6.c    Wed Jan 11 22:08:57 1989
  1727. --- new/snmp/miv6.c    Fri May 17 16:13:06 1991
  1728. ***************
  1729. *** 1,6 ****
  1730.   
  1731.   /*
  1732. !  *    $Header: miv6.c,v 1.1 89/01/11 22:08:56 jrd Exp $
  1733.    *    Author: J. Davin
  1734.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1735.    *    See permission and disclaimer notice in file "notice.h"
  1736. --- 1,6 ----
  1737.   
  1738.   /*
  1739. !  *    $Header: miv6.c,v 3.0 91/05/17 16:13:05 jrd Rel $
  1740.    *    Author: J. Davin
  1741.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1742.    *    See permission and disclaimer notice in file "notice.h"
  1743. diff -c -r old/snmp/miv7.c new/snmp/miv7.c
  1744. *** old/snmp/miv7.c    Wed Jan 11 22:09:00 1989
  1745. --- new/snmp/miv7.c    Fri May 17 16:13:08 1991
  1746. ***************
  1747. *** 1,6 ****
  1748.   
  1749.   /*
  1750. !  *    $Header: miv7.c,v 1.1 89/01/11 22:08:59 jrd Exp $
  1751.    *    Author: J. Davin
  1752.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1753.    *    See permission and disclaimer notice in file "notice.h"
  1754. --- 1,6 ----
  1755.   
  1756.   /*
  1757. !  *    $Header: miv7.c,v 3.0 91/05/17 16:13:06 jrd Rel $
  1758.    *    Author: J. Davin
  1759.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1760.    *    See permission and disclaimer notice in file "notice.h"
  1761. diff -c -r old/snmp/mix.c new/snmp/mix.c
  1762. *** old/snmp/mix.c    Wed Jan 11 22:09:27 1989
  1763. --- new/snmp/mix.c    Fri May 17 16:13:26 1991
  1764. ***************
  1765. *** 1,6 ****
  1766.   
  1767.   /*
  1768. !  *    $Header: mix.c,v 1.1 89/01/11 22:09:26 jrd Exp $
  1769.    *    Author: J. Davin
  1770.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1771.    *    See permission and disclaimer notice in file "notice.h"
  1772. --- 1,6 ----
  1773.   
  1774.   /*
  1775. !  *    $Header: mix.c,v 3.0 91/05/17 16:13:24 jrd Rel $
  1776.    *    Author: J. Davin
  1777.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1778.    *    See permission and disclaimer notice in file "notice.h"
  1779. diff -c -r old/snmp/mix.h new/snmp/mix.h
  1780. *** old/snmp/mix.h    Tue Aug  1 15:18:27 1989
  1781. --- new/snmp/mix.h    Fri May 17 16:13:58 1991
  1782. ***************
  1783. *** 2,8 ****
  1784.   #define        _MIX_H_
  1785.   
  1786.   /*
  1787. !  *    $Header: mix.h,v 1.2 89/02/06 20:57:47 jrd Exp $
  1788.    *    Author: J. Davin
  1789.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1790.    *    See permission and disclaimer notice in file "notice.h"
  1791. --- 2,8 ----
  1792.   #define        _MIX_H_
  1793.   
  1794.   /*
  1795. !  *    $Header: mix.h,v 3.0 91/05/17 16:13:57 jrd Rel $
  1796.    *    Author: J. Davin
  1797.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1798.    *    See permission and disclaimer notice in file "notice.h"
  1799. diff -c -r old/snmp/notice.h new/snmp/notice.h
  1800. *** old/snmp/notice.h    Sat Jan 14 16:21:24 1989
  1801. --- new/snmp/notice.h    Fri May 17 16:13:37 1991
  1802. ***************
  1803. *** 2,8 ****
  1804.   #define        _NOTICE_H_
  1805.   
  1806.   /*
  1807. !  *    $Header: notice.h,v 1.1 89/01/14 16:21:23 jrd Exp $
  1808.    */
  1809.   
  1810.   /*
  1811. --- 2,8 ----
  1812.   #define        _NOTICE_H_
  1813.   
  1814.   /*
  1815. !  *    $Header: notice.h,v 3.0 91/05/17 16:13:36 jrd Rel $
  1816.    */
  1817.   
  1818.   /*
  1819. ***************
  1820. *** 15,21 ****
  1821.       545 Technology Square
  1822.       Cambridge, MA 02139
  1823.   
  1824. !     Copyright 1988, 1989 Massachusetts Institute of Technology
  1825.   
  1826.   Permission to use, copy, modify, and distribute this software for any
  1827.   purpose and without fee is hereby granted, provided that this
  1828. --- 15,22 ----
  1829.       545 Technology Square
  1830.       Cambridge, MA 02139
  1831.   
  1832. !     Copyright 1988, 1989, 1990, 1991,
  1833. !         Massachusetts Institute of Technology
  1834.   
  1835.   Permission to use, copy, modify, and distribute this software for any
  1836.   purpose and without fee is hereby granted, provided that this
  1837. diff -c -r old/snmp/oid.c new/snmp/oid.c
  1838. *** old/snmp/oid.c    Wed Jan 11 22:09:21 1989
  1839. --- new/snmp/oid.c    Fri May 17 16:13:20 1991
  1840. ***************
  1841. *** 1,6 ****
  1842.   
  1843.   /*
  1844. !  *    $Header: oid.c,v 1.1 89/01/11 22:09:20 jrd Exp $
  1845.    *    Author: J. Davin
  1846.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1847.    *    See permission and disclaimer notice in file "notice.h"
  1848. --- 1,6 ----
  1849.   
  1850.   /*
  1851. !  *    $Header: oid.c,v 3.0 91/05/17 16:13:19 jrd Rel $
  1852.    *    Author: J. Davin
  1853.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  1854.    *    See permission and disclaimer notice in file "notice.h"
  1855. ***************
  1856. *** 97,108 ****
  1857.   
  1858.       } while (val != (CUnslType) 0);
  1859.   
  1860. !     if (k < n) {
  1861.           n = k;
  1862.           while (k-- != 0) {
  1863.               *oid++ = *bp++;
  1864.           }
  1865.       }
  1866.   
  1867.       return (n);
  1868.   }
  1869. --- 97,111 ----
  1870.   
  1871.       } while (val != (CUnslType) 0);
  1872.   
  1873. !     if (k <= n) {
  1874.           n = k;
  1875.           while (k-- != 0) {
  1876.               *oid++ = *bp++;
  1877.           }
  1878.       }
  1879. +     else {
  1880. +         n++;
  1881. +     }
  1882.   
  1883.       return (n);
  1884.   }
  1885. ***************
  1886. *** 122,129 ****
  1887.       CCharType        c;
  1888.       CBoolType        done;
  1889.   
  1890.       /*    Handle zero-length OID here    */
  1891. !     if ((*text == (CCharType) 0) && (n > (CIntfType) 0)) {
  1892.           return ((CIntfType) 0);
  1893.       }
  1894.   
  1895. --- 125,136 ----
  1896.       CCharType        c;
  1897.       CBoolType        done;
  1898.   
  1899. +     if (n < (CIntfType) 0) {
  1900. +         return ((CIntfType) -1);
  1901. +     }
  1902.       /*    Handle zero-length OID here    */
  1903. !     if (*text == (CCharType) 0) {
  1904.           return ((CIntfType) 0);
  1905.       }
  1906.   
  1907. ***************
  1908. *** 132,138 ****
  1909.       val = (CUnslType) 0;
  1910.       done = FALSE;
  1911.   
  1912. !     while ((! done) && (n > (CIntfType) 0)) {
  1913.           c = *text++;
  1914.           if ((c >= (CCharType) '0') && (c <= (CCharType) '9')) {
  1915.               val = ((CUnslType) 10 * val) + (CUnslType)
  1916. --- 139,145 ----
  1917.       val = (CUnslType) 0;
  1918.       done = FALSE;
  1919.   
  1920. !     while ((! done) && (n >= (CIntfType) 0)) {
  1921.           c = *text++;
  1922.           if ((c >= (CCharType) '0') && (c <= (CCharType) '9')) {
  1923.               val = ((CUnslType) 10 * val) + (CUnslType)
  1924. ***************
  1925. *** 142,148 ****
  1926.               switch (state) {
  1927.   
  1928.               case 0:
  1929. !                 val1 = ((CUnslType) 40 * val);
  1930.                   val = (CUnslType) 0;
  1931.                   state = (CIntfType) 1;
  1932.                   break;
  1933. --- 149,155 ----
  1934.               switch (state) {
  1935.   
  1936.               case 0:
  1937. !                 val1 = (((CUnslType) 40) * val);
  1938.                   val = (CUnslType) 0;
  1939.                   state = (CIntfType) 1;
  1940.                   break;
  1941. ***************
  1942. *** 149,162 ****
  1943.   
  1944.               case 1:
  1945.                   if (val > (CUnslType) 39) {
  1946. !                     n = (CIntfType) 0;
  1947. !                     done = TRUE;
  1948.                       break;
  1949.                   }
  1950. !                 else {
  1951. !                     val += val1;
  1952. !                     /*    fall through    */
  1953.                   }
  1954.   
  1955.               case 2:
  1956.                   k = oidEncodeSubid (oid, n, val);
  1957. --- 156,170 ----
  1958.   
  1959.               case 1:
  1960.                   if (val > (CUnslType) 39) {
  1961. !                     n = (CIntfType) -1;
  1962.                       break;
  1963.                   }
  1964. !                 else if ((val += val1) >
  1965. !                     (CUnslType) 0x7F) {
  1966. !                     n = (CIntfType) -1;
  1967. !                     break;
  1968.                   }
  1969. +                 /*    else fall through    */
  1970.   
  1971.               case 2:
  1972.                   k = oidEncodeSubid (oid, n, val);
  1973. ***************
  1974. *** 173,190 ****
  1975.               switch (state) {
  1976.   
  1977.               case 0:
  1978. !                 n = (CIntfType) 0;
  1979. !                 break;
  1980.   
  1981.               case 1:
  1982.                   if (val > (CUnslType) 39) {
  1983. !                     n = (CIntfType) 0;
  1984.                       break;
  1985.                   }
  1986. !                 else {
  1987. !                     val += val1;
  1988. !                     /*    fall through    */
  1989.                   }
  1990.   
  1991.               case 2:
  1992.                   k = oidEncodeSubid (oid, n, val);
  1993. --- 181,201 ----
  1994.               switch (state) {
  1995.   
  1996.               case 0:
  1997. !                 val1 = (((CUnslType) 40) * val);
  1998. !                 val = (CUnslType) 0;
  1999. !                 /*    fall through    */
  2000.   
  2001.               case 1:
  2002.                   if (val > (CUnslType) 39) {
  2003. !                     n = (CIntfType) -1;
  2004.                       break;
  2005.                   }
  2006. !                 else if ((val += val1) >
  2007. !                     (CUnslType) 0x7F) {
  2008. !                     n = (CIntfType) -1;
  2009. !                     break;
  2010.                   }
  2011. +                 /*    else fall through    */
  2012.   
  2013.               case 2:
  2014.                   k = oidEncodeSubid (oid, n, val);
  2015. ***************
  2016. *** 194,204 ****
  2017.               }
  2018.           }
  2019.           else {
  2020. !             n = (CIntfType) 0;
  2021. !             done = TRUE;
  2022.           }
  2023.       }
  2024.   
  2025. !     return ((n > (CIntfType) 0) ? h : (CIntfType) -1);
  2026.   }
  2027.   
  2028. --- 205,215 ----
  2029.               }
  2030.           }
  2031.           else {
  2032. !             n = (CIntfType) -1;
  2033.           }
  2034.       }
  2035.   
  2036. !     return ((n >= (CIntfType) 0) ? h : (CIntfType) -1);
  2037.   }
  2038.   
  2039. diff -c -r old/snmp/oid.h new/snmp/oid.h
  2040. *** old/snmp/oid.h    Wed Jan 11 22:10:13 1989
  2041. --- new/snmp/oid.h    Fri May 17 16:13:55 1991
  2042. ***************
  2043. *** 2,8 ****
  2044.   #define        _OID_H_
  2045.   
  2046.   /*
  2047. !  *    $Header: oid.h,v 1.1 89/01/11 22:10:13 jrd Exp $
  2048.    *    Author: J. Davin
  2049.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2050.    *    See permission and disclaimer notice in file "notice.h"
  2051. --- 2,8 ----
  2052.   #define        _OID_H_
  2053.   
  2054.   /*
  2055. !  *    $Header: oid.h,v 3.0 91/05/17 16:13:54 jrd Rel $
  2056.    *    Author: J. Davin
  2057.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2058.    *    See permission and disclaimer notice in file "notice.h"
  2059. diff -c -r old/snmp/rdx.c new/snmp/rdx.c
  2060. *** old/snmp/rdx.c    Wed Jan 11 22:08:12 1989
  2061. --- new/snmp/rdx.c    Fri May 17 16:12:37 1991
  2062. ***************
  2063. *** 1,6 ****
  2064.   
  2065.   /*
  2066. !  *    $Header: rdx.c,v 1.1 89/01/11 22:08:11 jrd Exp $
  2067.    *    Author: J. Davin
  2068.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2069.    *    See permission and disclaimer notice in file "notice.h"
  2070. --- 1,6 ----
  2071.   
  2072.   /*
  2073. !  *    $Header: rdx.c,v 3.0 91/05/17 16:12:35 jrd Rel $
  2074.    *    Author: J. Davin
  2075.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2076.    *    See permission and disclaimer notice in file "notice.h"
  2077. diff -c -r old/snmp/rdx.h new/snmp/rdx.h
  2078. *** old/snmp/rdx.h    Wed Jan 11 22:09:33 1989
  2079. --- new/snmp/rdx.h    Fri May 17 16:13:30 1991
  2080. ***************
  2081. *** 2,8 ****
  2082.   #define        _RDX_H_
  2083.   
  2084.   /*
  2085. !  *    $Header: rdx.h,v 1.1 89/01/11 22:09:32 jrd Exp $
  2086.    *    Author: J. Davin
  2087.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2088.    *    See permission and disclaimer notice in file "notice.h"
  2089. --- 2,8 ----
  2090.   #define        _RDX_H_
  2091.   
  2092.   /*
  2093. !  *    $Header: rdx.h,v 3.0 91/05/17 16:13:29 jrd Rel $
  2094.    *    Author: J. Davin
  2095.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2096.    *    See permission and disclaimer notice in file "notice.h"
  2097. diff -c -r old/snmp/smp.c new/snmp/smp.c
  2098. *** old/snmp/smp.c    Tue Aug  1 15:23:38 1989
  2099. --- new/snmp/smp.c    Fri May 17 16:13:14 1991
  2100. ***************
  2101. *** 1,6 ****
  2102.   
  2103.   /*
  2104. !  *    $Header: smp.c,v 1.3 89/05/31 19:22:53 jrd Exp $
  2105.    *    Author: J. Davin
  2106.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2107.    *    See permission and disclaimer notice in file "notice.h"
  2108. --- 1,6 ----
  2109.   
  2110.   /*
  2111. !  *    $Header: smp.c,v 3.0 91/05/17 16:13:12 jrd Rel $
  2112.    *    Author: J. Davin
  2113.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2114.    *    See permission and disclaimer notice in file "notice.h"
  2115. ***************
  2116. *** 424,430 ****
  2117.   
  2118.       sons = asnSons (seq);
  2119.       count = (SmpIndexType) 0;
  2120. -     bind = (AsnIdType) 0;
  2121.       for (component = 1; (component <= sons) && (count < n);
  2122.           bind = asnFree (bind)) {
  2123.           bind = asnComponent (seq, component);
  2124. --- 424,429 ----
  2125. diff -c -r old/snmp/smp.h new/snmp/smp.h
  2126. *** old/snmp/smp.h    Wed Jan 11 22:09:53 1989
  2127. --- new/snmp/smp.h    Fri May 17 16:13:42 1991
  2128. ***************
  2129. *** 2,8 ****
  2130.   #define        _SMP_H_
  2131.   
  2132.   /*
  2133. !  *    $Header: smp.h,v 1.1 89/01/11 22:09:51 jrd Exp $
  2134.    *    Author: J. Davin
  2135.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2136.    *    See permission and disclaimer notice in file "notice.h"
  2137. --- 2,8 ----
  2138.   #define        _SMP_H_
  2139.   
  2140.   /*
  2141. !  *    $Header: smp.h,v 3.0 91/05/17 16:13:41 jrd Rel $
  2142.    *    Author: J. Davin
  2143.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2144.    *    See permission and disclaimer notice in file "notice.h"
  2145. diff -c -r old/snmp/smx.c new/snmp/smx.c
  2146. *** old/snmp/smx.c    Tue Aug  1 15:25:33 1989
  2147. --- new/snmp/smx.c    Fri May 17 16:13:23 1991
  2148. ***************
  2149. *** 1,6 ****
  2150.   
  2151.   /*
  2152. !  *    $Header: smx.c,v 1.2 89/02/06 20:53:13 jrd Exp $
  2153.    *    Author: J. Davin
  2154.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2155.    *    See permission and disclaimer notice in file "notice.h"
  2156. --- 1,6 ----
  2157.   
  2158.   /*
  2159. !  *    $Header: smx.c,v 3.0 91/05/17 16:13:21 jrd Rel $
  2160.    *    Author: J. Davin
  2161.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2162.    *    See permission and disclaimer notice in file "notice.h"
  2163. ***************
  2164. *** 175,181 ****
  2165.           k = (CIntfType) -1;
  2166.       }
  2167.       else {
  2168. !         (void) strcpy ((char *) value, (char *) text);
  2169.       }
  2170.       return (k);
  2171.   }
  2172. --- 175,182 ----
  2173.           k = (CIntfType) -1;
  2174.       }
  2175.       else {
  2176. !         (void) bcopy ((char *) text,
  2177. !                 (char *) value, (int) k);
  2178.       }
  2179.       return (k);
  2180.   }
  2181. ***************
  2182. *** 263,290 ****
  2183.           return ((CIntfType) -1);
  2184.       }
  2185.   
  2186. !     for (s = n; ((m != (CIntfType) 0) && (s > (CIntfType) 0)); m--) {
  2187. !         k = rdxEncode10 (text, n, (CUnslType) *value++);
  2188. !         if (k < (CIntfType) 0) {
  2189. !             s = (CIntfType) -1;
  2190. !         }
  2191. !         else {
  2192. !             s -= k;
  2193. !             text += k;
  2194. !             *text++ = (CCharType) '.';
  2195. !             s--;
  2196. !         }
  2197.       }
  2198.   
  2199. !     if (s >= (CIntfType) 0) {
  2200. !         if (n > (CIntfType) 0) {
  2201. !             s++;
  2202. !             *(--text) = (CCharType) 0;
  2203. !         }
  2204. !         s = n - s;
  2205.       }
  2206.       else {
  2207. !         s = (CIntfType) -1;
  2208.       }
  2209.       return (s);
  2210.   }
  2211. --- 264,284 ----
  2212.           return ((CIntfType) -1);
  2213.       }
  2214.   
  2215. !     for (s = n; ((m != (CIntfType) 0) &&
  2216. !         ((k = rdxEncode10 (text, s, (CUnslType) *value++)) >
  2217. !         (CIntfType) 0)); m--) {
  2218. !         s -= k;
  2219. !         text += k;
  2220. !         *text++ = (CCharType) ("X\0..." [ m ]);
  2221. !         s--;
  2222.       }
  2223.   
  2224. !     if (m != (CIntfType) 0) {
  2225. !         s = (CIntfType) -1;
  2226.       }
  2227.       else {
  2228. !         s++;
  2229. !         s = n - s;
  2230.       }
  2231.       return (s);
  2232.   }
  2233. diff -c -r old/snmp/smx.h new/snmp/smx.h
  2234. *** old/snmp/smx.h    Wed Jan 11 22:10:15 1989
  2235. --- new/snmp/smx.h    Fri May 17 16:13:57 1991
  2236. ***************
  2237. *** 2,8 ****
  2238.   #define        _SMX_H_
  2239.   
  2240.   /*
  2241. !  *    $Header: smx.h,v 1.1 89/01/11 22:10:15 jrd Exp $
  2242.    *    Author: J. Davin
  2243.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2244.    *    See permission and disclaimer notice in file "notice.h"
  2245. --- 2,8 ----
  2246.   #define        _SMX_H_
  2247.   
  2248.   /*
  2249. !  *    $Header: smx.h,v 3.0 91/05/17 16:13:56 jrd Rel $
  2250.    *    Author: J. Davin
  2251.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2252.    *    See permission and disclaimer notice in file "notice.h"
  2253. diff -c -r old/snmp/vec.c new/snmp/vec.c
  2254. *** old/snmp/vec.c    Wed Jan 11 22:09:18 1989
  2255. --- new/snmp/vec.c    Fri May 17 16:13:18 1991
  2256. ***************
  2257. *** 1,6 ****
  2258.   
  2259.   /*
  2260. !  *    $Header: vec.c,v 1.1 89/01/11 22:09:18 jrd Exp $
  2261.    *    Author: J. Davin
  2262.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2263.    *    See permission and disclaimer notice in file "notice.h"
  2264. --- 1,6 ----
  2265.   
  2266.   /*
  2267. !  *    $Header: vec.c,v 3.0 91/05/17 16:13:17 jrd Rel $
  2268.    *    Author: J. Davin
  2269.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2270.    *    See permission and disclaimer notice in file "notice.h"
  2271. diff -c -r old/snmp/vec.h new/snmp/vec.h
  2272. *** old/snmp/vec.h    Wed Jan 11 22:10:11 1989
  2273. --- new/snmp/vec.h    Fri May 17 16:13:54 1991
  2274. ***************
  2275. *** 2,8 ****
  2276.   #define        _VEC_H_
  2277.   
  2278.   /*
  2279. !  *    $Header: vec.h,v 1.1 89/01/11 22:10:11 jrd Exp $
  2280.    *    Author: J. Davin
  2281.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2282.    *    See permission and disclaimer notice in file "notice.h"
  2283. --- 2,8 ----
  2284.   #define        _VEC_H_
  2285.   
  2286.   /*
  2287. !  *    $Header: vec.h,v 3.0 91/05/17 16:13:53 jrd Rel $
  2288.    *    Author: J. Davin
  2289.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2290.    *    See permission and disclaimer notice in file "notice.h"
  2291. diff -c -r old/snmpd/Makefile new/snmpd/Makefile
  2292. *** old/snmpd/Makefile    Sat Jan 14 16:54:14 1989
  2293. --- new/snmpd/Makefile    Fri May 17 16:15:25 1991
  2294. ***************
  2295. *** 1,6 ****
  2296.   
  2297.   #
  2298. ! #    $Header: Makefile,v 1.1 89/01/11 22:12:12 jrd Exp $
  2299.   #    Author: J. Davin
  2300.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2301.   #    See permission and disclaimer notice in file "notice.h"
  2302. --- 1,6 ----
  2303.   
  2304.   #
  2305. ! #    $Header: Makefile,v 3.0 91/05/17 16:15:24 jrd Rel $
  2306.   #    Author: J. Davin
  2307.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2308.   #    See permission and disclaimer notice in file "notice.h"
  2309. ***************
  2310. *** 50,53 ****
  2311.   snmpd.o: ../snmp/aps.h ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h
  2312.   snmpd.o: ../snmp/asldefs.h ../snmp/mis.h ../snmp/mix.h ../snmp/miv.h
  2313.   snmpd.o: ../snmp/ap0.h ../snmp/avl.h ../bsd/udp.h ../bsd/systm.h
  2314. ! snmpd.o: ../bsd/kmem.h ../bsd/rte.h ../bsd/icmp.h
  2315. --- 50,53 ----
  2316.   snmpd.o: ../snmp/aps.h ../snmp/asn.h ../snmp/asndefs.h ../snmp/asl.h
  2317.   snmpd.o: ../snmp/asldefs.h ../snmp/mis.h ../snmp/mix.h ../snmp/miv.h
  2318.   snmpd.o: ../snmp/ap0.h ../snmp/avl.h ../bsd/udp.h ../bsd/systm.h
  2319. ! snmpd.o: ../bsd/kmem.h ../bsd/rte.h ../bsd/icmp.h ../bsd/if.h ../bsd/udps.h
  2320. diff -c -r old/snmpd/snmpd.c new/snmpd/snmpd.c
  2321. *** old/snmpd/snmpd.c    Tue Aug  1 15:28:40 1989
  2322. --- new/snmpd/snmpd.c    Fri May 17 16:15:27 1991
  2323. ***************
  2324. *** 1,6 ****
  2325.   
  2326.   /*
  2327. !  *    $Header: snmpd.c,v 1.2 89/02/17 19:01:13 jrd Locked $
  2328.    *    Author: J. Davin
  2329.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2330.    *    See permission and disclaimer notice in file "notice.h"
  2331. --- 1,6 ----
  2332.   
  2333.   /*
  2334. !  *    $Header: snmpd.c,v 3.0 91/05/17 16:15:26 jrd Rel $
  2335.    *    Author: J. Davin
  2336.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2337.    *    See permission and disclaimer notice in file "notice.h"
  2338. ***************
  2339. *** 11,17 ****
  2340.   #include    <sys/types.h>
  2341.   #include    <sys/socket.h>
  2342.   #include    <netinet/in.h>
  2343. - #include    <signal.h>
  2344.   
  2345.   #include    <stdio.h>
  2346.   #include    <netdb.h>
  2347. --- 11,16 ----
  2348. ***************
  2349. *** 35,40 ****
  2350. --- 34,41 ----
  2351.   #include    <kmem.h>
  2352.   #include    <rte.h>
  2353.   #include    <icmp.h>
  2354. + #include    <if.h>
  2355. + #include    <udps.h>
  2356.   
  2357.   #define        cmdStringSize        (32)
  2358.   #define        cmdBufferSize        (2048)
  2359. ***************
  2360. *** 55,60 ****
  2361. --- 56,63 ----
  2362.       systmInit ();
  2363.       rteInit ();
  2364.       icmpInit ();
  2365. +     ifInit ();
  2366. +     udpsInit ();
  2367.   }
  2368.   
  2369.   static  CIntfType       usage (s)
  2370. ***************
  2371. *** 243,258 ****
  2372.       return (close (s));
  2373.   }
  2374.   
  2375. - int            signalCatcher (sig, code, scp)
  2376. - int            sig;
  2377. - int            code;
  2378. - struct    sigcontext    *scp;
  2379. - {
  2380. - /*    do nothing    */
  2381. - }
  2382.   int    main (argc, argv)
  2383.   
  2384.   int    argc;
  2385. --- 246,251 ----
  2386. ***************
  2387. *** 259,274 ****
  2388.   char    *argv [];
  2389.   
  2390.   {
  2391. -     struct        sigvec        vec, ovec;
  2392. -     vec.sv_handler = signalCatcher;
  2393. -     vec.sv_mask = 0;
  2394. -     vec.sv_flags = SV_INTERRUPT;
  2395. -     if (sigvec (SIGHUP, & vec, & ovec) < 0) {
  2396. -         exit (perror (argv [ 0 ]));
  2397. -     }
  2398.       exit (snmpdCommand (argc, argv));
  2399.   }
  2400.   
  2401. --- 252,257 ----
  2402. diff -c -r old/snmpget/Makefile new/snmpget/Makefile
  2403. *** old/snmpget/Makefile    Sat Jan 14 16:53:15 1989
  2404. --- new/snmpget/Makefile    Fri May 17 16:14:45 1991
  2405. ***************
  2406. *** 1,6 ****
  2407.   
  2408.   #
  2409. ! #    $Header: Makefile,v 1.1 89/01/11 22:11:04 jrd Exp $
  2410.   #    Author: J. Davin
  2411.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2412.   #    See permission and disclaimer notice in file "notice.h"
  2413. --- 1,6 ----
  2414.   
  2415.   #
  2416. ! #    $Header: Makefile,v 3.0 91/05/17 16:14:44 jrd Rel $
  2417.   #    Author: J. Davin
  2418.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2419.   #    See permission and disclaimer notice in file "notice.h"
  2420. diff -c -r old/snmpget/snmpget.c new/snmpget/snmpget.c
  2421. *** old/snmpget/snmpget.c    Tue Aug  1 15:29:35 1989
  2422. --- new/snmpget/snmpget.c    Fri May 17 16:14:47 1991
  2423. ***************
  2424. *** 1,6 ****
  2425.   
  2426.   /*
  2427. !  *    $Header: snmpget.c,v 1.2 89/02/17 18:59:31 jrd Locked $
  2428.    *    Author: J. Davin
  2429.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2430.    *    See permission and disclaimer notice in file "notice.h"
  2431. --- 1,6 ----
  2432.   
  2433.   /*
  2434. !  *    $Header: snmpget.c,v 3.0 91/05/17 16:14:45 jrd Rel $
  2435.    *    Author: J. Davin
  2436.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2437.    *    See permission and disclaimer notice in file "notice.h"
  2438. ***************
  2439. *** 52,58 ****
  2440.   {
  2441.       SmpIndexType        i;
  2442.       SmpBindPtrType        bind;
  2443. !     CCharType        text [ cmdTextSize ];
  2444.   
  2445.   
  2446.           if ((req->smpRequestCmd != smpCommandRsp) ||
  2447. --- 52,58 ----
  2448.   {
  2449.       SmpIndexType        i;
  2450.       SmpBindPtrType        bind;
  2451. !     CCharType        text [ (cmdTextSize + 1) ];
  2452.   
  2453.   
  2454.           if ((req->smpRequestCmd != smpCommandRsp) ||
  2455. diff -c -r old/snmpnext/Makefile new/snmpnext/Makefile
  2456. *** old/snmpnext/Makefile    Sat Jan 14 16:53:31 1989
  2457. --- new/snmpnext/Makefile    Fri May 17 16:14:58 1991
  2458. ***************
  2459. *** 1,6 ****
  2460.   
  2461.   #
  2462. ! #    $Header: Makefile,v 1.1 89/01/11 22:11:20 jrd Exp $
  2463.   #    Author: J. Davin
  2464.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2465.   #    See permission and disclaimer notice in file "notice.h"
  2466. --- 1,6 ----
  2467.   
  2468.   #
  2469. ! #    $Header: Makefile,v 3.0 91/05/17 16:14:57 jrd Rel $
  2470.   #    Author: J. Davin
  2471.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2472.   #    See permission and disclaimer notice in file "notice.h"
  2473. diff -c -r old/snmpnext/snmpnext.c new/snmpnext/snmpnext.c
  2474. *** old/snmpnext/snmpnext.c    Tue Aug  1 15:30:12 1989
  2475. --- new/snmpnext/snmpnext.c    Fri May 17 16:15:01 1991
  2476. ***************
  2477. *** 1,6 ****
  2478.   
  2479.   /*
  2480. !  *    $Header: snmpnext.c,v 1.2 89/02/17 19:02:21 jrd Exp $
  2481.    *    Author: J. Davin
  2482.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2483.    *    See permission and disclaimer notice in file "notice.h"
  2484. --- 1,6 ----
  2485.   
  2486.   /*
  2487. !  *    $Header: snmpnext.c,v 3.0 91/05/17 16:14:59 jrd Rel $
  2488.    *    Author: J. Davin
  2489.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2490.    *    See permission and disclaimer notice in file "notice.h"
  2491. ***************
  2492. *** 30,36 ****
  2493.   
  2494.   #define        cmdBufferSize        (2048)
  2495.   #define        cmdBindListSize        (20)
  2496. ! #define        cmdTextSize        (64)
  2497.   
  2498.   static    void    cmdInit ()
  2499.   
  2500. --- 30,36 ----
  2501.   
  2502.   #define        cmdBufferSize        (2048)
  2503.   #define        cmdBindListSize        (20)
  2504. ! #define        cmdTextSize        (128)
  2505.   
  2506.   static    void    cmdInit ()
  2507.   
  2508. ***************
  2509. *** 58,64 ****
  2510.       SmpIndexType        i;
  2511.       SmpBindPtrType        bind;
  2512.       SmpBindPtrType        orig;
  2513. !     CCharType        text [ cmdTextSize ];
  2514.   
  2515.       if ((req->smpRequestCmd != smpCommandRsp) ||
  2516.           (req->smpRequestId != requestId)) {
  2517. --- 58,64 ----
  2518.       SmpIndexType        i;
  2519.       SmpBindPtrType        bind;
  2520.       SmpBindPtrType        orig;
  2521. !     CCharType        text [ (cmdTextSize + 1) ];
  2522.   
  2523.       if ((req->smpRequestCmd != smpCommandRsp) ||
  2524.           (req->smpRequestId != requestId)) {
  2525. diff -c -r old/snmpset/Makefile new/snmpset/Makefile
  2526. *** old/snmpset/Makefile    Sat Jan 14 16:53:22 1989
  2527. --- new/snmpset/Makefile    Fri May 17 16:14:52 1991
  2528. ***************
  2529. *** 1,6 ****
  2530.   
  2531.   #
  2532. ! #    $Header: Makefile,v 1.1 89/01/11 22:11:12 jrd Exp $
  2533.   #    Author: J. Davin
  2534.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2535.   #    See permission and disclaimer notice in file "notice.h"
  2536. --- 1,6 ----
  2537.   
  2538.   #
  2539. ! #    $Header: Makefile,v 3.0 91/05/17 16:14:50 jrd Rel $
  2540.   #    Author: J. Davin
  2541.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2542.   #    See permission and disclaimer notice in file "notice.h"
  2543. diff -c -r old/snmpset/snmpset.c new/snmpset/snmpset.c
  2544. *** old/snmpset/snmpset.c    Tue Aug  1 15:30:57 1989
  2545. --- new/snmpset/snmpset.c    Fri May 17 16:14:54 1991
  2546. ***************
  2547. *** 1,6 ****
  2548.   
  2549.   /*
  2550. !  *    $Header: snmpset.c,v 1.2 89/02/17 19:03:23 jrd Exp $
  2551.    *    Author: J. Davin
  2552.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2553.    *    See permission and disclaimer notice in file "notice.h"
  2554. --- 1,6 ----
  2555.   
  2556.   /*
  2557. !  *    $Header: snmpset.c,v 3.0 91/05/17 16:14:52 jrd Rel $
  2558.    *    Author: J. Davin
  2559.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2560.    *    See permission and disclaimer notice in file "notice.h"
  2561. ***************
  2562. *** 30,36 ****
  2563.   
  2564.   #define        cmdBufferSize        (2048)
  2565.   #define        cmdBindListSize        (20)
  2566. ! #define        cmdTextSize        (64)
  2567.   
  2568.   static        SmpSequenceType        requestId;
  2569.   static        CBoolType        cmdDone;
  2570. --- 30,36 ----
  2571.   
  2572.   #define        cmdBufferSize        (2048)
  2573.   #define        cmdBindListSize        (20)
  2574. ! #define        cmdTextSize        (128)
  2575.   
  2576.   static        SmpSequenceType        requestId;
  2577.   static        CBoolType        cmdDone;
  2578. ***************
  2579. *** 53,59 ****
  2580.   {
  2581.       SmpIndexType        i;
  2582.       SmpBindPtrType        bind;
  2583. !     CCharType        text [ cmdTextSize ];
  2584.   
  2585.           smp = smp;
  2586.       if ((req->smpRequestCmd != smpCommandRsp) ||
  2587. --- 53,59 ----
  2588.   {
  2589.       SmpIndexType        i;
  2590.       SmpBindPtrType        bind;
  2591. !     CCharType        text [ (cmdTextSize + 1) ];
  2592.   
  2593.           smp = smp;
  2594.       if ((req->smpRequestCmd != smpCommandRsp) ||
  2595. diff -c -r old/snmptrap/Makefile new/snmptrap/Makefile
  2596. *** old/snmptrap/Makefile    Sat Jan 14 16:53:41 1989
  2597. --- new/snmptrap/Makefile    Fri May 17 16:15:04 1991
  2598. ***************
  2599. *** 1,6 ****
  2600.   
  2601.   #
  2602. ! #    $Header: Makefile,v 1.1 89/01/11 22:11:28 jrd Exp $
  2603.   #    Author: J. Davin
  2604.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2605.   #    See permission and disclaimer notice in file "notice.h"
  2606. --- 1,6 ----
  2607.   
  2608.   #
  2609. ! #    $Header: Makefile,v 3.0 91/05/17 16:15:04 jrd Rel $
  2610.   #    Author: J. Davin
  2611.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2612.   #    See permission and disclaimer notice in file "notice.h"
  2613. diff -c -r old/snmptrap/snmptrap.c new/snmptrap/snmptrap.c
  2614. *** old/snmptrap/snmptrap.c    Tue Aug  1 15:32:13 1989
  2615. --- new/snmptrap/snmptrap.c    Fri May 17 16:15:06 1991
  2616. ***************
  2617. *** 1,6 ****
  2618.   
  2619.   /*
  2620. !  *    $Header: snmptrap.c,v 1.2 89/02/17 19:04:56 jrd Exp $
  2621.    *    Author: J. Davin
  2622.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2623.    *    See permission and disclaimer notice in file "notice.h"
  2624. --- 1,6 ----
  2625.   
  2626.   /*
  2627. !  *    $Header: snmptrap.c,v 3.0 91/05/17 16:15:05 jrd Rel $
  2628.    *    Author: J. Davin
  2629.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2630.    *    See permission and disclaimer notice in file "notice.h"
  2631. ***************
  2632. *** 30,36 ****
  2633.   
  2634.   #define        cmdBufferSize        (2048)
  2635.   #define        cmdBindListSize        (20)
  2636. - #define        cmdTextSize        (64)
  2637.   
  2638.   static    void    cmdInit ()
  2639.   
  2640. --- 30,35 ----
  2641. diff -c -r old/snmptrapd/Makefile new/snmptrapd/Makefile
  2642. *** old/snmptrapd/Makefile    Sat Jan 14 16:53:50 1989
  2643. --- new/snmptrapd/Makefile    Fri May 17 16:15:09 1991
  2644. ***************
  2645. *** 1,6 ****
  2646.   
  2647.   #
  2648. ! #    $Header: Makefile,v 1.1 89/01/11 22:11:39 jrd Exp $
  2649.   #    Author: J. Davin
  2650.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2651.   #    See permission and disclaimer notice in file "notice.h"
  2652. --- 1,6 ----
  2653.   
  2654.   #
  2655. ! #    $Header: Makefile,v 3.0 91/05/17 16:15:08 jrd Rel $
  2656.   #    Author: J. Davin
  2657.   #    Copyright 1988, 1989, Massachusetts Institute of Technology
  2658.   #    See permission and disclaimer notice in file "notice.h"
  2659. diff -c -r old/snmptrapd/snmptrapd.c new/snmptrapd/snmptrapd.c
  2660. *** old/snmptrapd/snmptrapd.c    Tue Aug  1 15:32:43 1989
  2661. --- new/snmptrapd/snmptrapd.c    Fri May 17 16:15:10 1991
  2662. ***************
  2663. *** 1,6 ****
  2664.   
  2665.   /*
  2666. !  *    $Header: snmptrapd.c,v 1.2 89/02/17 19:06:01 jrd Exp $
  2667.    *    Author: J. Davin
  2668.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2669.    *    See permission and disclaimer notice in file "notice.h"
  2670. --- 1,6 ----
  2671.   
  2672.   /*
  2673. !  *    $Header: snmptrapd.c,v 3.0 91/05/17 16:15:09 jrd Rel $
  2674.    *    Author: J. Davin
  2675.    *    Copyright 1988, 1989, Massachusetts Institute of Technology
  2676.    *    See permission and disclaimer notice in file "notice.h"
  2677. ***************
  2678. *** 27,33 ****
  2679.   #include    <smx.h>
  2680.   #include    <udp.h>
  2681.   
  2682. ! #define        cmdTextSize        (64)
  2683.   #define        cmdBufferSize        (2048)
  2684.   
  2685.   static    void    cmdInit ()
  2686. --- 27,33 ----
  2687.   #include    <smx.h>
  2688.   #include    <udp.h>
  2689.   
  2690. ! #define        cmdTextSize        (128)
  2691.   #define        cmdBufferSize        (2048)
  2692.   
  2693.   static    void    cmdInit ()
  2694. ***************
  2695. *** 48,54 ****
  2696.   {
  2697.       SmpIndexType        i;
  2698.       SmpBindPtrType        bind;
  2699. !     CCharType        text [ cmdTextSize ];
  2700.   
  2701.   
  2702.           if (req->smpRequestCmd != smpCommandTrap) {
  2703. --- 48,54 ----
  2704.   {
  2705.       SmpIndexType        i;
  2706.       SmpBindPtrType        bind;
  2707. !     CCharType        text [ (cmdTextSize + 1) ];
  2708.   
  2709.   
  2710.           if (req->smpRequestCmd != smpCommandTrap) {
  2711.